FlexGrow extends AbstractCssProperty<FlexGrow> { public FlexGrow() { value = Float.valueOf(0); cssValue = value.toString(); } FlexGrow();  FlexGrow(final String cssValue);  FlexGrow(final FlexGrow flexGrow);  FlexGrow(final float value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); void setValue(final float value); @Override FlexGrow 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 testFlexGrow() { FlexGrow flexGrow = new FlexGrow(); assertEquals(Float.valueOf(0F), flexGrow.getValue()); assertEquals("0.0", flexGrow.getCssValue()); flexGrow.setAsInherit(); assertEquals(FlexGrow.INHERIT, flexGrow.getCssValue()); assertNull(flexGrow.getValue()); }