Icon extends AbstractCssProperty<Icon> implements StateChangeInformer<Bean> { public Icon() { setCssValue(NONE); } Icon();  Icon(final String cssValue);  Icon(final Icon icon);  Icon(final String... imageUrls);  Icon(final UrlCss3Value... urlCss3Values); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override Icon setCssValue(final String cssValue); void setImageUrls(final String... imageUrls); void setImageUrls(final UrlCss3Value... urlCss3Values); List<UrlCss3Value> getUrlCss3Values(); void setAsInitial(); void setAsInherit(); @Override void stateChanged(final Bean stateChangedObject); static final String INITIAL; static final String INHERIT; static final String NONE; }
@Test public void testIcon() { Icon icon = new Icon(); assertEquals(Icon.NONE, icon.getCssValue()); icon.setCssValue("url(/images/HelloDesign.jpg)"); assertEquals("url(/images/HelloDesign.jpg)", icon.getCssValue()); }