def METHOD_NAME(self):
    spe_variable = tf.Variable(1)
    tuner = steps_per_execution_tuning.StepsPerExecutionTuner(
        mockOptimizer(5), spe_variable, 5, 50, 0.5
    )
    assert tuner.optimizer.iterations.numpy() == 5
    assert tuner._steps_per_execution.numpy().item() == 1
    assert tuner.interval == 5
    assert tuner.change_spe_interval == 50
    assert tuner.spe_change_threshold == 0.5
    assert not tuner.steps_per_execution_stop_event.is_set()