public void include_property_in_the_exception_output()
        {
            try
            {
                var exception = new ExceptionWithProperty()
                {
                    UserId = 10
                };

                var sut    = new BaseLoggerWrapper(GetType());
                var actual = sut.FormatException(exception);

                Assert.AreEqual(actual.StartsWith("    MicroServer.Tests.Logging.Loggers.ExceptionWithProperty"), true);
                Assert.AreEqual(actual.EndsWith("[UserId='10']\r\n"), true);
                Assert.Fail("no exception thrown");
            }
            catch (Exception ex)
            {
                Assert.IsTrue(ex is Exception);
            }
        }
        public void include_property_in_the_exception_output()
        {
            try
            {
                var exception = new ExceptionWithProperty() { UserId = 10 };

                var sut = new BaseLoggerWrapper(GetType());
                var actual = sut.FormatException(exception);

                Assert.AreEqual(actual.StartsWith("    MicroServer.Tests.Logging.Loggers.ExceptionWithProperty"), true);
                Assert.AreEqual(actual.EndsWith("[UserId='10']\r\n"), true);
                Assert.Fail("no exception thrown");
            }
            catch (Exception ex)
            {
                Assert.IsTrue(ex is Exception);
            }
        }