public void TestSimpleLoggerWithMemoryAppenderLog() { this.simpleLoggerMemoryAppender.Log(TestMessage); var messages = MemoryAppender.GetMessages(memoryAppender, (x => x == x)); var result = messages[0].Contains(TestMessage); Assert.AreEqual(true, result, "The SimpleLoggerWithMemoryAppender does not write correctly!"); }