public void TestName() { AtemMockServerWrapper.Each(_output, _pool, NameCommandHandler, DeviceTestCases.MediaPlayerClips, helper => { int clipCount = helper.Helper.BuildLibState().MediaPool.Clips.Count; for (int index = 0; index < clipCount; index++) { IBMDSwitcherClip clip = GetClip(helper, (uint)index); for (int i = 0; i < 5; i++) { AtemState stateBefore = helper.Helper.BuildLibState(); string name = (Guid.NewGuid().ToString() + Guid.NewGuid()).Substring(0, 44); stateBefore.MediaPool.Clips[index].IsUsed = true; stateBefore.MediaPool.Clips[index].Name = name; helper.SendAndWaitForChange(stateBefore, () => { clip.SetName(name); }); } } }); }