public void TestTimeCodeMode()
        {
            var handler = CommandGenerator.CreateAutoCommandHandler <TimeCodeConfigSetCommand, TimeCodeConfigGetCommand>("Mode", true);

            AtemMockServerWrapper.Each(_output, _pool, handler, DeviceTestCases.TimeCodeMode, helper =>
            {
                IBMDSwitcher switcher = helper.SdkClient.SdkSwitcher;

                AtemState stateBefore = helper.Helper.BuildLibState();

                for (int i = 0; i < 5; i++)
                {
                    var target = Randomiser.EnumValue <TimeCodeMode>();
                    stateBefore.Settings.TimeCodeMode = target;

                    helper.SendAndWaitForChange(stateBefore,
                                                () =>
                    {
                        switcher.SetTimeCodeMode(AtemEnumMaps.TimeCodeModeMap[target]);
                    });
                }
            });
        }