@Test
    public void copyingSettingsDoesNotMutateOtherWriter() {
        SimpleCodeWriter a = new SimpleCodeWriter();
        SimpleCodeWriter b = new SimpleCodeWriter();
        b.copySettingsFrom(a);
        b.writeInline("Hello");

        assertThat(b.toString(), equalTo("Hello\n"));
        assertThat(a.toString(), equalTo("\n"));
    }
\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/SimpleCodeWriterTest.java