ColumnCount extends AbstractCssProperty<ColumnCount> { @Override public String toString() { return getCssName() + ": " + getCssValue(); } ColumnCount();  ColumnCount(final String cssValue);  ColumnCount(final ColumnCount columnCount);  ColumnCount(final int value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Integer getValue(); void setValue(final int value); @Override ColumnCount 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() { ColumnCount columnCount = new ColumnCount(); assertNull(columnCount.getValue()); assertEquals(ColumnCount.AUTO, columnCount.getCssValue()); assertEquals(CssNameConstants.COLUMN_COUNT + ": " + ColumnCount.AUTO, columnCount.toString()); columnCount.setAsInherit(); assertEquals( CssNameConstants.COLUMN_COUNT + ": " + ColumnCount.INHERIT, columnCount.toString()); assertNull(columnCount.getValue()); }