BorderLeftWidth extends AbstractCssProperty<BorderLeftWidth> { @Override public String getCssValue() { return cssValue; } BorderLeftWidth();  BorderLeftWidth(final String cssValue);  BorderLeftWidth(final BorderLeftWidth borderLeftWidth);  BorderLeftWidth(final float percent);  BorderLeftWidth(final float value,
            final CssLengthUnit cssLengthUnit); BorderLeftWidth 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 BorderLeftWidth 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 testBorderLeftWidthString() { { BorderLeftWidth borderLeftWidth = new BorderLeftWidth(BorderLeftWidth.INITIAL); assertEquals(BorderLeftWidth.INITIAL, borderLeftWidth.getCssValue()); } { BorderLeftWidth borderLeftWidth = new BorderLeftWidth("50px"); assertEquals("50px", borderLeftWidth.getCssValue()); } }
@Test public void testBorderLeftWidthBorderLeftWidth() { BorderLeftWidth borderLeftWidth = new BorderLeftWidth("50px"); BorderLeftWidth borderLeftWidth1 = new BorderLeftWidth(borderLeftWidth); assertEquals("50px", borderLeftWidth1.getCssValue()); }
@Test public void testBorderLeftWidthFloat() { BorderLeftWidth borderLeftWidth = new BorderLeftWidth(75); assertEquals("75.0%", borderLeftWidth.getCssValue()); }
@Test public void testGetCssValue() { BorderLeftWidth borderLeftWidth = new BorderLeftWidth(); borderLeftWidth.setAsInherit(); assertEquals(BorderLeftWidth.INHERIT, borderLeftWidth.getCssValue()); borderLeftWidth.setAsMedium(); assertEquals(BorderLeftWidth.MEDIUM, borderLeftWidth.getCssValue()); }