ColumnCount extends AbstractCssProperty<ColumnCount> { public void setAsInherit() { setCssValue(INHERIT); } 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 testSetAsInherit() { ColumnCount columnCount = new ColumnCount(); columnCount.setCssValue("2"); assertEquals(Integer.valueOf(2), columnCount.getValue()); columnCount.setAsInherit(); assertEquals(ColumnCount.INHERIT, columnCount.getCssValue()); assertNull(columnCount.getValue()); }