コード例 #1
0
 public void Verify_that_executors_really_call_the_method()
 {
     //Verify that I'm able to execute Testcommand
     var cmd = new TestCommand();
     sut.GetExecutorFor(typeof(TestCommand)).Invoke(cmd);
     cmd.CallCount.Should().Be.EqualTo(1);
 }
コード例 #2
0
 public void DoingTheTest(TestCommand testCommand)
 {
     testCommand.CallCount++;
 }