'Asserts that all expected calls were made.'

def assert_no_pending_responses(self):

    remaining = len(self._queue)
    if (remaining != 0):
        raise AssertionError(('%d    responses    remaining    in    queue.' % remaining))
