@Test
    void deprecatedAnnotationAndNoteOnClass() {
        String fileContents = getFileContentsFromShapeName("DeprecatedStructure", true);
        String expected = "/**\n" +
                " * @deprecated As of yesterday. A message\n" +
                " */\n" +
                "@Deprecated\n" +
                "@SmithyGenerated\n" +
                "public final class DeprecatedStructureTrait";
        assertTrue(fileContents.contains(expected));
    }
\n" +
                "     * Documentation includes preformatted text that should not be messed with. This sentence should still be partially\n"
                +
                "     * wrapped.\n" +
                "     * For example:\n" +
                "     * <pre>\n" +
                "     * Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n"
                +
                "     * </pre>\n" +
                "     * <ul>\n" +
                "     *     <li> Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit consectetur adipiscing </li>\n"
                +
                "     *     <li> Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit consectetur adipiscing </li>\n"
                +
                "     * </ul>\n" +
                "
smithy-trait-codegen/src/test/java/software/amazon/smithy/traitcodegen/integrations/javadoc/JavadocTest.java