BackgroundImage extends AbstractCssProperty<BackgroundImage> implements StateChangeInformer<Bean> { public BackgroundImage() { setCssValue(NONE); } BackgroundImage();  BackgroundImage(final String cssValue);  BackgroundImage(final BackgroundImage backgroundImage);  BackgroundImage(final String... imageUrls);  BackgroundImage(final UrlCss3Value... urlCss3Values); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override BackgroundImage 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 testBackgroundImage() { BackgroundImage backgroundImage = new BackgroundImage(); assertEquals(BackgroundImage.NONE, backgroundImage.getCssValue()); backgroundImage.setCssValue("url(/images/HelloDesign.jpg)"); assertEquals("url(/images/HelloDesign.jpg)", backgroundImage.getCssValue()); }