Exemple #1
0
        public void Should_not_change_color_around_batch_if_colors_disabled()
        {
            var settings = new ConsoleLogSettings {
                ColorsEnabled = false
            };

            writer.WriteEvents(new[] { CreateLogEventInfo(settings), CreateLogEventInfo(settings) }, 2);

            consoleWriter.DidNotReceive().ChangeColor(Arg.Any <ConsoleColor>());
        }