コード例 #1
0
 public void ShouldPassThroughIntegrationCompletedCallToAllSubTriggers()
 {
     subTrigger1Mock.Expect("IntegrationCompleted");
     subTrigger2Mock.Expect("IntegrationCompleted");
     trigger.IntegrationCompleted();
     VerifyAll();
 }
コード例 #2
0
 public void ShouldPassThroughIntegrationCompletedCallToAllSubTriggers()
 {
     subTrigger1Mock.Setup(_trigger => _trigger.IntegrationCompleted()).Verifiable();
     subTrigger2Mock.Setup(_trigger => _trigger.IntegrationCompleted()).Verifiable();
     trigger.IntegrationCompleted();
     VerifyAll();
 }
コード例 #3
0
 public void ShouldNotFailWhenNoTriggersAndIntegrationCompletedCalled()
 {
     trigger = new MultipleTrigger();
     trigger.IntegrationCompleted();
 }