@Test
    public void canIndentDocBlocks() {
        SimpleCodeWriter writer = new SimpleCodeWriter();
        writer.indent()
                .write("/**")
                .setNewlinePrefix(" * ")
                .write("This is some docs.")
                .write("And more docs.\n")
                .write("Foo.")
                .setNewlinePrefix("")
                .write(" */")
                .dedent();

        /* Becomes:
         *
         *
         *      /**
         *       * This is some docs.
         *       * And more docs.
         *       *
         *       * Foo.
         *       *\/
         *
         *        ^ Minus this character.
         */
        assertThat(
                writer.toString(),
                equalTo("    /**\n     * This is some docs.\n     * And more docs.\n     *\n     * Foo.\n     */\n"));
    }
\n * This is some docs.\n * And more docs.\n *\n * Foo.\n
smithy-utils/src/test/java/software/amazon/smithy/utils/SimpleCodeWriterTest.java