public void It_should_delegate_NotifyStepStart() { var stepInfo = new TestResults.TestStepInfo(); _subject.NotifyStepStart(stepInfo); foreach (var notifier in _notifiers) { Mock.Get(notifier).Verify(n => n.NotifyStepStart(stepInfo)); } }
public void It_should_delegate_NotifyStepComment() { var stepInfo = new TestResults.TestStepInfo(); var comment = "comment"; _subject.NotifyStepComment(stepInfo, comment); foreach (var notifier in _notifiers) { Mock.Get(notifier).Verify(n => n.NotifyStepComment(stepInfo, comment)); } }