@Restricted(NoExternalUse.class)
    public static String extractPluginNameFromIconSrc(String iconSrc) {
        if (iconSrc == null) {
            return "";
        }

        if (!iconSrc.contains("plugin-")) {
            return "";
        }

        String[] arr = iconSrc.split(" ");
        for (String element : arr) {
            if (element.startsWith("plugin-")) {
                return element.replaceFirst("plugin-", "");
            }
        }

        return "";
    }
@Test
    public void extractPluginNameFromIconSrcWhichContainsPluginWordInThePluginName() {
        String result = Functions.extractPluginNameFromIconSrc("symbol-padlock plugin-design-library-plugin");

        assertThat(result, is(equalTo("design-library-plugin")));
    }