FlexBasis extends AbstractCssProperty<FlexBasis> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } FlexBasis();  FlexBasis(final String cssValue);  FlexBasis(final FlexBasis flexBasis);  FlexBasis(final float percent);  FlexBasis(final float value, final CssLengthUnit cssLengthUnit); FlexBasis 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 FlexBasis 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 testToString() { FlexBasis flexBasis = new FlexBasis(75, CssLengthUnit.EM); assertEquals(flexBasis.getCssName() + ": 75.0em", flexBasis.toString()); }