parameters: (self, unexpected_method, expected)
docstring: Init exception.
  
      Args:
        # unexpected_method: MockMethod that was called but was not at the head of
        #   the expected_method queue.
        # expected: MockMethod or UnorderedGroup the method should have
        #   been in.
        unexpected_method: MockMethod
        expected: MockMethod or UnorderedGroup
docstring_summary: Init exception.
docstring_tokens: Init exception .
function: def __init__(self, unexpected_method, expected):
      """Init exception.
  
      Args:
        # unexpected_method: MockMethod that was called but was not at the head of
        #   the expected_method queue.
        # expected: MockMethod or UnorderedGroup the method should have
        #   been in.
        unexpected_method: MockMethod
        expected: MockMethod or UnorderedGroup
      """
  
      Error.__init__(self)
      self._unexpected_method = unexpected_method
      self._expected = expected
function_tokens: def __init__ ( self , unexpected_method , expected ) : Error . __init__ ( self ) self . _unexpected_method = unexpected_method self . _expected = expected