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