MarginRight extends AbstractCssProperty<MarginRight> { public void setAsInitial() { setCssValue(INITIAL); } MarginRight();  MarginRight(final String cssValue);  MarginRight(final MarginRight marginRight);  MarginRight(final float percent);  MarginRight(final float value, final CssLengthUnit cssLengthUnit); MarginRight 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 MarginRight 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 testSetAsInitial() { MarginRight marginRight = new MarginRight(); marginRight.setAsInitial(); assertEquals(MarginRight.INITIAL, marginRight.getCssValue()); assertNull(marginRight.getValue()); assertNull(marginRight.getUnit()); }