BorderBottomWidth extends AbstractCssProperty<BorderBottomWidth> { public void setAsMedium() { setCssValue(MEDIUM); } BorderBottomWidth();  BorderBottomWidth(final String cssValue);  BorderBottomWidth(final BorderBottomWidth borderBottomWidth);  BorderBottomWidth(final float percent);  BorderBottomWidth(final float value,
            final CssLengthUnit cssLengthUnit); BorderBottomWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override BorderBottomWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsMedium(); void setAsThin(); void setAsThick(); static boolean isValid(final String cssValue); static final String MEDIUM; static final String THIN; static final String THICK; static final String INITIAL; static final String INHERIT; }
@Test public void testSetAsMedium() { BorderBottomWidth borderBottomWidth = new BorderBottomWidth(); borderBottomWidth.setAsInherit(); borderBottomWidth.setAsMedium(); assertEquals(BorderBottomWidth.MEDIUM, borderBottomWidth.getCssValue()); assertNull(borderBottomWidth.getValue()); assertNull(borderBottomWidth.getUnit()); }