def assert_called_once_with(_mock_self, *args, **kwargs):
self = _mock_self<EOL>if not self.call_count == <NUM_LIT:1>:<EOL><INDENT>msg = ("<STR_LIT>" %<EOL>self.call_count)<EOL>raise AssertionError(msg)<EOL><DEDENT>return self.assert_called_with(*args, **kwargs)<EOL>
assert that the mock was called exactly once and with the specified
        arguments.