public void ActionFinishing([ValueSource("ActionFinishingCases")] BindPoseActionTestCase testCase) { SetupBaseTestCase(testCase); SetupBindPoseActionTestCase(testCase); Assert.AreEqual(testCase.expected, m_BindPoseView.IsActionFinishing(testCase.action)); }
private void SetupBindPoseActionTestCase(BindPoseActionTestCase testCase) { guiWrapper.IsControlHot(Arg.Any <int>()).Returns(true); guiWrapper.IsEventOutsideWindow().Returns(testCase.eventOutsideWindow); }