public void Setup() { _textMessageWriter = new TextMessageWriter(); Console.SetOut(_textMessageWriter); _subject = new TestSuiteMessageLogger("test"); _suiteStartedMessage = "##teamcity[testSuiteStarted name='test']\r\n"; Assert.That(_textMessageWriter.ToString(), Is.EqualTo(_suiteStartedMessage)); }
public void Setup() { _textMessageWriter = new TextMessageWriter(); Console.SetOut(_textMessageWriter); _subject = new TestSuiteMessageLogger("test"); _suiteStartedMessage = "##teamcity[testSuiteStarted name='test']\r\n"; Assert.That(_textMessageWriter.ToString(), Is.EqualTo(_suiteStartedMessage)); }