WebkitFlexBasis extends AbstractCssProperty<WebkitFlexBasis> { public void setAsAuto() { setCssValue(AUTO); } WebkitFlexBasis();  WebkitFlexBasis(final String cssValue);  WebkitFlexBasis(final WebkitFlexBasis webkitFlexBasis);  WebkitFlexBasis(final float percent);  WebkitFlexBasis(final float value,
            final CssLengthUnit cssLengthUnit); WebkitFlexBasis 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 WebkitFlexBasis 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 testSetAsAuto() { WebkitFlexBasis flexBasis = new WebkitFlexBasis(); flexBasis.setAsInherit(); flexBasis.setAsAuto(); assertEquals(WebkitFlexBasis.AUTO, flexBasis.getCssValue()); assertNull(flexBasis.getValue()); assertNull(flexBasis.getUnit()); }