void () { check(true, List.of(new ColoredText("\u001B[33m Hello,", ProcessOutputTypes.STDOUT) .addExpected(" Hello,", "38;5;3m"), new ColoredText("World!\n", ProcessOutputTypes.STDERR) .addExpected("World!\n", STDERR_KEY), new ColoredText("\u001B[41m Changed stderr background", ProcessOutputTypes.STDERR) .addExpected(" Changed stderr background", "48;5;1m"), new ColoredText("Unchanged stdout background", ProcessOutputTypes.STDOUT) .addExpected("Unchanged stdout background", "38;5;3m"))); }