Icon extends AbstractCssProperty<Icon> implements StateChangeInformer<Bean> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } 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 testToString() { Icon icon = new Icon("/images/HelloDesign.jpg", "/images/HelloDesign2.jpg"); assertEquals(icon.getCssName()+": url(\"/images/HelloDesign.jpg\"), url(\"/images/HelloDesign2.jpg\")", icon.toString()); }