BorderBottomWidth extends AbstractCssProperty<BorderBottomWidth> { @Override public String getCssValue() { return cssValue; } 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 testBorderBottomWidthString() { { BorderBottomWidth borderBottomWidth = new BorderBottomWidth(BorderBottomWidth.INITIAL); assertEquals(BorderBottomWidth.INITIAL, borderBottomWidth.getCssValue()); } { BorderBottomWidth borderBottomWidth = new BorderBottomWidth("50px"); assertEquals("50px", borderBottomWidth.getCssValue()); } }
@Test public void testBorderBottomWidthBorderBottomWidth() { BorderBottomWidth borderBottomWidth = new BorderBottomWidth("50px"); BorderBottomWidth borderBottomWidth1 = new BorderBottomWidth(borderBottomWidth); assertEquals("50px", borderBottomWidth1.getCssValue()); }
@Test public void testBorderBottomWidthFloat() { BorderBottomWidth borderBottomWidth = new BorderBottomWidth(75); assertEquals("75.0%", borderBottomWidth.getCssValue()); }
@Test public void testGetCssValue() { BorderBottomWidth borderBottomWidth = new BorderBottomWidth(); borderBottomWidth.setAsInherit(); assertEquals(BorderBottomWidth.INHERIT, borderBottomWidth.getCssValue()); borderBottomWidth.setAsMedium(); assertEquals(BorderBottomWidth.MEDIUM, borderBottomWidth.getCssValue()); }