in doubles/method_double.py [0:0]
def verify(self):
"""Verifies all expectations on the method.
:raise: ``MockExpectationError`` on the first expectation that is not satisfied, if any.
"""
for expectation in self._expectations:
if not expectation.is_satisfied():
expectation.raise_failure_exception()