public void ShouldPassThroughIntegrationCompletedCallToAllSubTriggers() { subTrigger1Mock.Expect("IntegrationCompleted"); subTrigger2Mock.Expect("IntegrationCompleted"); trigger.IntegrationCompleted(); VerifyAll(); }
public void ShouldPassThroughIntegrationCompletedCallToAllSubTriggers() { subTrigger1Mock.Setup(_trigger => _trigger.IntegrationCompleted()).Verifiable(); subTrigger2Mock.Setup(_trigger => _trigger.IntegrationCompleted()).Verifiable(); trigger.IntegrationCompleted(); VerifyAll(); }
public void ShouldNotFailWhenNoTriggersAndIntegrationCompletedCalled() { trigger = new MultipleTrigger(); trigger.IntegrationCompleted(); }