MarginBottom extends AbstractCssProperty<MarginBottom> { public void setAsInherit() { setCssValue(INHERIT); } 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 testSetAsInherit() { MarginBottom marginBottom = new MarginBottom(); marginBottom.setAsInherit(); assertEquals(MarginBottom.INHERIT, marginBottom.getCssValue()); assertNull(marginBottom.getValue()); assertNull(marginBottom.getUnit()); }