public void ExecutesAllUnderlyingLoggers()
        {
            var logger1 = new FakeLogger();
            var logger2 = new FakeLogger();

            var loggers = new List <FakeLogger> {
                logger1, logger2
            };
            var sut = new CompositeLogger(loggers);

            sut.ExecuteOnExit(true);

            Assert.True(logger1.ExecutedOnExit && logger2.ExecutedOnExit);
        }