Right extends AbstractCssProperty<Right> { @Override public String getCssValue() { return cssValue; } Right();  Right(final String cssValue);  Right(final Right right);  Right(final float percent);  Right(final float value, final CssLengthUnit cssLengthUnit); Right 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 Right 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 testRightString() { { Right right = new Right(Right.INITIAL); assertEquals(Right.INITIAL, right.getCssValue()); } { Right right = new Right("50px"); assertEquals("50px", right.getCssValue()); } }
@Test public void testRightRight() { Right right = new Right("50px"); Right right1 = new Right(right); assertEquals("50px", right1.getCssValue()); }
@Test public void testRightFloat() { Right right = new Right(75); assertEquals("75.0%", right.getCssValue()); }
@Test public void testGetCssValue() { Right right = new Right(); right.setAsInherit(); assertEquals(Right.INHERIT, right.getCssValue()); right.setAsInitial(); assertEquals(Right.INITIAL, right.getCssValue()); }