Left extends AbstractCssProperty<Left> { public CssLengthUnit getUnit() { return cssLengthUnit; } Left();  Left(final String cssValue);  Left(final Left left);  Left(final float percent);  Left(final float value, final CssLengthUnit cssLengthUnit); Left 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 Left setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static boolean isValid(final String cssValue); static final String AUTO; static final String INITIAL; static final String INHERIT; }
@Test public void testGetUnit() { Left left = new Left(); left.setPercent(75); assertEquals(CssLengthUnit.PER, left.getUnit()); }