parameters: (self)
docstring: Verify that all of the expected calls have been made.
  
      Raises:
        ExpectedMethodCallsError: if there are still more method calls in the
          expected queue.
docstring_summary: Verify that all of the expected calls have been made.
docstring_tokens: Verify that all of the expected calls have been made .
function: def _Verify(self):
      """Verify that all of the expected calls have been made.
  
      Raises:
        ExpectedMethodCallsError: if there are still more method calls in the
          expected queue.
      """
  
      # If the list of expected calls is not empty, raise an exception
      if self._expected_calls_queue:
        # The last MultipleTimesGroup is not popped from the queue.
        if (len(self._expected_calls_queue) == 1 and
            isinstance(self._expected_calls_queue[0], MultipleTimesGroup) and
            self._expected_calls_queue[0].IsSatisfied()):
          pass
        else:
          raise ExpectedMethodCallsError(self._expected_calls_queue)
function_tokens: def _Verify ( self ) : # If the list of expected calls is not empty, raise an exception if self . _expected_calls_queue : # The last MultipleTimesGroup is not popped from the queue. if ( len ( self . _expected_calls_queue ) == 1 and isinstance ( self . _expected_calls_queue [ 0 ] , MultipleTimesGroup ) and self . _expected_calls_queue [ 0 ] . IsSatisfied ( ) ) : pass else : raise ExpectedMethodCallsError ( self . _expected_calls_queue )