def METHOD_NAME(mocked_pagination_strategy, mocked_stop_condition):
    mocked_stop_condition.is_met.return_value = False
    first_record = Mock(spec=Record)
    last_record = Mock(spec=Record)
    decorator = StopConditionPaginationStrategyDecorator(mocked_pagination_strategy, mocked_stop_condition)
    next_page_token = decorator.next_page_token(ANY_RESPONSE, [first_record, last_record])
    assert next_page_token == mocked_pagination_strategy.next_page_token.return_value
    mocked_pagination_strategy.next_page_token.assert_called_once_with(ANY_RESPONSE, [first_record, last_record])
    mocked_stop_condition.is_met.assert_has_calls([call(last_record), call(first_record)])