BorderRightWidth extends AbstractCssProperty<BorderRightWidth> { @Override public String getCssValue() { return cssValue; } BorderRightWidth();  BorderRightWidth(final String cssValue);  BorderRightWidth(final BorderRightWidth borderRightWidth);  BorderRightWidth(final float percent);  BorderRightWidth(final float value,
            final CssLengthUnit cssLengthUnit); BorderRightWidth 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 BorderRightWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsMedium(); void setAsThin(); void setAsThick(); static boolean isValid(final String cssValue); static final String MEDIUM; static final String THIN; static final String THICK; static final String INITIAL; static final String INHERIT; }
@Test public void testBorderRightWidthString() { { BorderRightWidth borderRightWidth = new BorderRightWidth(BorderRightWidth.INITIAL); assertEquals(BorderRightWidth.INITIAL, borderRightWidth.getCssValue()); } { BorderRightWidth borderRightWidth = new BorderRightWidth("50px"); assertEquals("50px", borderRightWidth.getCssValue()); } }
@Test public void testBorderRightWidthBorderRightWidth() { BorderRightWidth borderRightWidth = new BorderRightWidth("50px"); BorderRightWidth borderRightWidth1 = new BorderRightWidth(borderRightWidth); assertEquals("50px", borderRightWidth1.getCssValue()); }
@Test public void testBorderRightWidthFloat() { BorderRightWidth borderRightWidth = new BorderRightWidth(75); assertEquals("75.0%", borderRightWidth.getCssValue()); }
@Test public void testGetCssValue() { BorderRightWidth borderRightWidth = new BorderRightWidth(); borderRightWidth.setAsInherit(); assertEquals(BorderRightWidth.INHERIT, borderRightWidth.getCssValue()); borderRightWidth.setAsMedium(); assertEquals(BorderRightWidth.MEDIUM, borderRightWidth.getCssValue()); }