def test_subscribe_to_time_changes_complex(self):
        time_options_manager = TimeSettingsManager()
        result = {"result": "Time Options after Change:", "increment" : 0}

        def time_change_callback(time, minutes, seconds,origin_station_name):
            result["increment"] += 1
            result["result"] += "\n Change " + result["increment"].__str__() + "| " + time

        time_options_manager.subscribe_to_timechange(time_change_callback)

        time_options_manager.increment_seconds()
        time_options_manager.increment_seconds()
        time_options_manager.increment_seconds()
        time_options_manager.decrement_seconds()
        time_options_manager.decrement_seconds()
        time_options_manager.decrement_seconds()
        time_options_manager.decrement_seconds()
        time_options_manager.decrement_minutes()
        time_options_manager.decrement_minutes()
        time_options_manager.increment_minutes()
        time_options_manager.increment_minutes()
        time_options_manager.increment_minutes()
        time_options_manager.increment_minutes()
        time_options_manager.increment_minutes()
        time_options_manager.set_countdown_time(3, 14)

        Approvals.verify(result["result"], TextDiffReporter())
dataset/ETHPy150Open MobProgramming/MobTimer.Python/tests/Infrastructure/TimeOptionsManager/TestsTimeOptionsManager.py/TestsTimeOptionsManager.test_subscribe_to_time_changes_complex/original