@SuppressWarnings("unused")
    @Restricted(NoExternalUse.class)
    public static String getSymbol(String name, String title, String tooltip, String htmlTooltip, String classes, String pluginName, String id) {
        return Symbol.get(new SymbolRequest.Builder()
                                 .withName(IconSet.cleanName(name))
                                 .withTitle(title)
                                 .withTooltip(tooltip)
                                 .withHtmlTooltip(htmlTooltip)
                                 .withClasses(classes)
                                 .withPluginName(pluginName)
                                 .withId(id)
                                 .build()
        );
    }
@Test
    void getSymbol_cachedSymbolDoesntReturnAttributes() {
        IconSet.getSymbol("download", "Title", "Tooltip", "", "class1 class2", "", "id");
        String symbol = IconSet.getSymbol("download", "", "", "", "", "", "");

        assertThat(symbol, not(containsString("<span class=\"jenkins-visually-hidden\">Title</span>")));
        assertThat(symbol, not(containsString("tooltip=\"Tooltip\"")));
        assertThat(symbol, not(containsString("class=\"class1 class2\"")));
        assertThat(symbol, not(containsString("id=\"id\"")));

    }