public void report(String message) {
        if (monochrome) {
            message = message.replaceAll("\u001B\\[[;\\d]*m", "");
        }
        out.print(message);
    }
@Test
    void printsTheCorrespondingReportsCucumberIoUrl() throws UnsupportedEncodingException {
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        UrlReporter urlReporter = new UrlReporter(new PrintStream(bytes, false, StandardCharsets.UTF_8.name()));
        urlReporter.report(message);
        assertThat(bytes, bytes(equalTo(message)));
    }