public void CtorShouldSetTestAction() { testAction = TestMethod; var wrapper = new TestActionWrapper(testAction); Assert.That(wrapper.TestAction, Is.SameAs(testAction)); }
public void RunShouldCallTestAction() { testAction = TestMethod; var wrapper = new TestActionWrapper(testAction); testIsMethodCalled = false; wrapper.Run(); Assert.That(testIsMethodCalled); }