MozFlexBasis extends AbstractCssProperty<MozFlexBasis> { public void setAsInitial() { setCssValue(INITIAL); } MozFlexBasis();  MozFlexBasis(final String cssValue);  MozFlexBasis(final MozFlexBasis mozFlexBasis);  MozFlexBasis(final float percent);  MozFlexBasis(final float value, final CssLengthUnit cssLengthUnit); MozFlexBasis 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 MozFlexBasis 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 testSetAsInitial() { MozFlexBasis flexBasis = new MozFlexBasis(); flexBasis.setAsInitial(); assertEquals(MozFlexBasis.INITIAL, flexBasis.getCssValue()); assertNull(flexBasis.getValue()); assertNull(flexBasis.getUnit()); }