MozColumnCount extends AbstractCssProperty<MozColumnCount> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } MozColumnCount();  MozColumnCount(final String cssValue);  MozColumnCount(final MozColumnCount mozColumnCount);  MozColumnCount(final int value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Integer getValue(); void setValue(final int value); @Override MozColumnCount setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static boolean isValid(final String cssValue); static final String INITIAL; static final String INHERIT; static final String AUTO; }
@Test public void testToString() { MozColumnCount mozColumnCount = new MozColumnCount(); assertNull(mozColumnCount.getValue()); assertEquals(MozColumnCount.AUTO, mozColumnCount.getCssValue()); assertEquals(CssNameConstants.MOZ_COLUMN_COUNT + ": " + MozColumnCount.AUTO, mozColumnCount.toString()); mozColumnCount.setAsInherit(); assertEquals( CssNameConstants.MOZ_COLUMN_COUNT + ": " + MozColumnCount.INHERIT, mozColumnCount.toString()); assertNull(mozColumnCount.getValue()); }