MarginLeft extends AbstractCssProperty<MarginLeft> { public CssLengthUnit getUnit() { return cssLengthUnit; } MarginLeft();  MarginLeft(final String cssValue);  MarginLeft(final MarginLeft marginLeft);  MarginLeft(final float percent);  MarginLeft(final float value, final CssLengthUnit cssLengthUnit); MarginLeft 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 MarginLeft 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 testGetUnit() { MarginLeft marginLeft = new MarginLeft(); marginLeft.setPercent(75); assertEquals(CssLengthUnit.PER, marginLeft.getUnit()); }