public void TestEmptyText()
        {
            var fsMock = new Mock<IFileSystem>(MockBehavior.Strict);

            var fileLogger = new FileLogger(fsMock.Object, "basepath", "logfile");

            var message = "  ";
            fileLogger.Log(message, LogType.Message);
        }
        public void TestMessageLogging()
        {
            var fsMock = new Mock<IFileSystem>();

            var fileLogger = new FileLogger(fsMock.Object, "basepath", "logfile");

            var message = "This is a plain message";
            fileLogger.Log(message, LogType.Message);

            fsMock.Verify(m => m.AppendLine(It.IsAny<string>(), GetExpectedLogMessage(message, LogType.Message)));
        }