@Test
    void allDocumentationIncludedTogetherOnMember() {
        String fileContents = getFileContentsFromShapeName("Rollup", true);
        String expected = "    /**\n" +
                "     * This member applies all documentation traits\n" +
                "     *\n" +
                "     * @see <a href=\"https://example.com\">Example</a>\n" +
                "     * @since 4.5\n" +
                "     * @deprecated As of sometime.\n" +
                "     */\n" +
                "    @SmithyUnstableApi\n" +
                "    @Deprecated\n" +
                "    public Optional<String> getRollupMember() {";
        assertTrue(fileContents.contains(expected));
    }
\n" +
                " * This structure applies all documentation traits\n" +
                " *\n" +
                " * @see <a href=\"https://example.com\">Example</a>\n" +
                " * @since 4.5\n" +
                " * @deprecated As of sometime.\n" +
                "
smithy-trait-codegen/src/test/java/software/amazon/smithy/traitcodegen/integrations/javadoc/JavadocTest.java