SvgCssUtils { @Deprecated public static boolean isStyleSheetLink(IElementNode headChildElement) { return CssUtils.isStyleSheetLink(headChildElement); } private  SvgCssUtils(); static List<String> splitValueList(String value); static String convertFloatToString(float value); static String convertDoubleToString(double value); @Deprecated static float convertPtsToPx(float pts); @Deprecated static double convertPtsToPx(double pts); @Deprecated static boolean isStyleSheetLink(IElementNode headChildElement);  }
@Test public void compareIsStyleSheetLinkResult() { Element element = new Element(Tag.valueOf("link"), ""); element.attr(CommonAttributeConstants.REL, CommonAttributeConstants.STYLESHEET); JsoupElementNode elementNode = new JsoupElementNode(element); boolean expected = CssUtils.isStyleSheetLink(elementNode); boolean actual = SvgCssUtils.isStyleSheetLink(elementNode); Assert.assertEquals(actual, expected); }