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