def METHOD_NAME(mocker, spies):
    send_event_spy, start_session_event_spy, end_session_event_spy = spies
    outer("foo", same=False)
    assert start_session_event_spy.call_count == 2
    assert end_session_event_spy.call_count == 2
    assert send_event_spy.call_count == 2
    expected_call_args_list = [
        call(event_category=CATEGORY_FOR_TEST, event_action="arg", event_label="foo", event_value=None),
        call(event_category=CATEGORY_FOR_TEST2, event_action="arg", event_label="foo", event_value=None),
    ]
    assert send_event_spy.call_args_list == expected_call_args_list
    expected_session_call_args_list = [call(CATEGORY_FOR_TEST), call(CATEGORY_FOR_TEST2)]
    assert start_session_event_spy.call_args_list == expected_session_call_args_list
    assert end_session_event_spy.call_args_list == list(reversed(expected_session_call_args_list))