Pop the next method from our call queue.
(self)
| 579 | 'Did you remember to put your mocks in replay mode?' % name) |
| 580 | |
| 581 | def _PopNextMethod(self): |
| 582 | """Pop the next method from our call queue.""" |
| 583 | try: |
| 584 | return self._call_queue.popleft() |
| 585 | except IndexError: |
| 586 | raise UnexpectedMethodCallError(self, None) |
| 587 | |
| 588 | def _VerifyMethodCall(self): |
| 589 | """Verify the called method is expected. |
no test coverage detected