Exemple #1
0
        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));
            }
        }
Exemple #2
0
        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));
            }
        }