MarginTop extends AbstractCssProperty<MarginTop> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } MarginTop();  MarginTop(final String cssValue);  MarginTop(final MarginTop marginTop);  MarginTop(final float percent);  MarginTop(final float value, final CssLengthUnit cssLengthUnit); MarginTop 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 MarginTop 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 testToString() { MarginTop marginTop = new MarginTop(75, CssLengthUnit.EM); assertEquals(marginTop.getCssName()+": 75.0em", marginTop.toString()); }