public String describe() {
        return
                "--- EXIT CODE (" + returnValue() + ") ---\n"
                + "--- STANDARD OUT ---\n" + outputForDisplayAsString() + "\n"
                + "--- STANDARD ERR ---\n" + errorForDisplayAsString() + "\n"
                + "---\n";
    }
@Test
    void shouldDescribeResult() {
        List<CommandArgument> args = List.of(new StringArgument("foo"), new PasswordArgument("bar"));
        List<SecretString> secrets = List.of(new PasswordArgument("quux"));
        ConsoleResult result = new ConsoleResult(42, List.of(" foo ", " bar ", " baz ", " abc "), List.of(" quux ", " bang "), args, secrets);
        assertThat(result.describe()).contains("--- EXIT CODE (42) ---");
        assertThat(result.describe()).contains("--- STANDARD OUT ---");
        assertThat(result.describe()).contains("--- STANDARD ERR ---");
    }