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