Bottom extends AbstractCssProperty<Bottom> { @Override public String getCssValue() { return cssValue; } Bottom();  Bottom(final String cssValue);  Bottom(final Bottom bottom);  Bottom(final float percent);  Bottom(final float value, final CssLengthUnit cssLengthUnit); Bottom 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 Bottom setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static boolean isValid(final String cssValue); static final String AUTO; static final String INITIAL; static final String INHERIT; }
@Test public void testBottomString() { { Bottom bottom = new Bottom(Bottom.INITIAL); assertEquals(Bottom.INITIAL, bottom.getCssValue()); } { Bottom bottom = new Bottom("50px"); assertEquals("50px", bottom.getCssValue()); } }
@Test public void testBottomBottom() { Bottom bottom = new Bottom("50px"); Bottom bottom1 = new Bottom(bottom); assertEquals("50px", bottom1.getCssValue()); }
@Test public void testBottomFloat() { Bottom bottom = new Bottom(75); assertEquals("75.0%", bottom.getCssValue()); }
@Test public void testGetCssValue() { Bottom bottom = new Bottom(); bottom.setAsInherit(); assertEquals(Bottom.INHERIT, bottom.getCssValue()); bottom.setAsInitial(); assertEquals(Bottom.INITIAL, bottom.getCssValue()); }