Outline extends AbstractCssProperty<Outline> implements StateChangeInformer<CssProperty> { public OutlineStyle getOutlineStyle() { return outlineStyle; } Outline();  Outline(final String cssValue);  Outline(final Outline outline); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override Outline setCssValue(final String cssValue); static boolean isValid(final String cssValue); void setAsInitial(); void setAsInherit(); OutlineColor getOutlineColor(); OutlineStyle getOutlineStyle(); OutlineWidth getOutlineWidth(); Outline setOutlineWidth(final OutlineWidth outlineWidth); Outline setOutlineStyle(final OutlineStyle outlineStyle); Outline setOutlineColor(final OutlineColor outlineColor); @Override void stateChanged(final CssProperty stateChangedObject); static final String INITIAL; static final String INHERIT; }
@Test public void testGetOutlineStyle() { Outline border = new Outline(); border.setCssValue("green solid thick"); assertEquals("green solid thick", border.getCssValue()); final OutlineStyle outlineWidth = border.getOutlineStyle(); assertEquals("solid", outlineWidth.getCssValue()); border.setCssValue("green thick"); assertNull(border.getOutlineStyle()); assertEquals("green thick", border.getCssValue()); }