BorderWidth extends AbstractCssProperty<BorderWidth> implements StateChangeInformer<CssProperty> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } BorderWidth();  BorderWidth(final String cssValue);  BorderWidth(final BorderWidth borderBottomWidth);  BorderWidth(final float percent);  BorderWidth(final float value, final CssLengthUnit cssLengthUnit); BorderWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override BorderWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsMedium(); void setAsThin(); void setAsThick(); void setBorderWidth(final BorderTopWidth borderTopWidth,
            final BorderRightWidth borderRightWidth,
            final BorderBottomWidth borderBottomWidth,
            final BorderLeftWidth borderLeftWidth); BorderTopWidth getBorderTopWidth(); BorderRightWidth getBorderRightWidth(); BorderBottomWidth getBorderBottomWidth(); BorderLeftWidth getBorderLeftWidth(); @Override void stateChanged(final CssProperty stateChangedObject); static boolean isValid(final String cssValue); boolean hasPredefinedConstantValue(); static final String MEDIUM; static final String THIN; static final String THICK; static final String INITIAL; static final String INHERIT; }
@Test public void testToString() { BorderWidth borderWidth = new BorderWidth("75px"); assertEquals(CssNameConstants.BORDER_WIDTH + ": 75px", borderWidth.toString()); }