def METHOD_NAME(
    trainer_controller_with_take_step_mocks,
):
    tc, trainer_mock = trainer_controller_with_take_step_mocks
    brain_name = "testbrain"
    env_mock = MagicMock()
    tc.brain_name_to_identifier[brain_name].add(brain_name)
    tc.advance(env_mock)
    env_mock.reset.assert_not_called()
    env_mock.get_steps.assert_called_once()
    env_mock.process_steps.assert_called_once()
    # May have been called many times due to thread
    # assert trainer_mock.advance.call_count > 0