PaddingRight extends AbstractCssProperty<PaddingRight> { @Override public String getCssValue() { return cssValue; } PaddingRight();  PaddingRight(final String cssValue);  PaddingRight(final PaddingRight paddingRight);  PaddingRight(final float percent);  PaddingRight(final float value, final CssLengthUnit cssLengthUnit); PaddingRight 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 PaddingRight 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 testPaddingRightString() { { PaddingRight paddingRight = new PaddingRight(PaddingRight.INITIAL); assertEquals(PaddingRight.INITIAL, paddingRight.getCssValue()); } { PaddingRight paddingRight = new PaddingRight("50px"); assertEquals("50px", paddingRight.getCssValue()); } }
@Test public void testPaddingRightPaddingRight() { PaddingRight paddingRight = new PaddingRight("50px"); PaddingRight paddingRight1 = new PaddingRight(paddingRight); assertEquals("50px", paddingRight1.getCssValue()); }
@Test public void testPaddingRightFloat() { PaddingRight paddingRight = new PaddingRight(75); assertEquals("75.0%", paddingRight.getCssValue()); }
@Test public void testGetCssValue() { PaddingRight paddingRight = new PaddingRight(); paddingRight.setAsInherit(); assertEquals(PaddingRight.INHERIT, paddingRight.getCssValue()); paddingRight.setAsInitial(); assertEquals(PaddingRight.INITIAL, paddingRight.getCssValue()); }