public void NotifyFeatureStart_should_print_nothing() { _subject.NotifyFeatureStart("a", "b", "c"); Assert.That(_console.GetCapturedText(), Is.EqualTo(string.Empty)); }
public void NotifyFeatureStart_should_print_feature_full_details() { string featureName = "feature name"; string featureDescription = "some description"; string label = "MY-LABEL-1"; string expectedText = string.Format("FEATURE: [{0}] {1}{2} {3}{2}", label, featureName, Environment.NewLine, featureDescription); _subject.NotifyFeatureStart(featureName, featureDescription, label); Assert.That(_console.GetCapturedText(), Is.EqualTo(expectedText)); }