@Test
    public void skipsConditionalsWithAllWhitespaceLines3() {
        SimpleCodeWriter writer = new SimpleCodeWriter()
                .trimTrailingSpaces(false)
                .insertTrailingNewline(false);
        writer.write(" ${?foo}\n" // Whole line is skipped.
                + "  ${foo:L} foo ${foo:L}\n" // Whole line is skipped.
                + " ${/foo}\n" // whole line is skipped.
                + " ${^foo}\n" // whole line is skipped.
                + "  not ${foo:L}\n" // Includes "  not \n"
                + " ${/foo}\n" // Whole line is skipped.
                + "Who?"); // Includes only "Who?"

        assertThat(writer.toString(), equalTo("  not \nWho?"));
    }
\n"
                                + " * Foo \"foo!\"\n"
                                + " *\n"
                                + " * \"baz\"!\n"
                                + " * Yap!\n"
                                + " *     This is indented, in flow of parent.\n"
                                + " *     Yap!\n"
                                + " *     Yap?\n"
                                + " *     # Has a prefix\n"
                                + " *     # Yes\n"
                                + "
smithy-utils/src/test/java/software/amazon/smithy/utils/CodeWriterTest.java