public void Render2ViolatingPlanes() { _uut.RenderViolations(_planesViolating); string teststring = _writer.ToString(); string expectedOutput = "The Planes Test1, Test2 has violated the Separation rule.\r\n"; Assert.AreEqual(expectedOutput, teststring); }