Columns extends AbstractCssProperty<Columns> implements StateChangeInformer<CssProperty> { public ColumnCount getColumnCount() { return columnCount; } Columns();  Columns(final String cssValue);  Columns(final Columns columns); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override Columns setCssValue(final String cssValue); static boolean isValid(final String cssValue); void setAsInitial(); void setAsInherit(); ColumnWidth getColumnWidth(); ColumnCount getColumnCount(); Columns setColumnWidth(final ColumnWidth columnWidth); Columns setColumnCount(final ColumnCount columnCount); @Override void stateChanged(final CssProperty stateChangedObject); static final String INITIAL; static final String INHERIT; }
@Test public void testGetColumnCount() { try { Columns columns = new Columns(); columns.setCssValue("55px 5"); assertEquals("55px 5", columns.getCssValue()); assertNotNull(columns.getColumnCount()); assertEquals("5", columns.getColumnCount().getCssValue()); } catch (Exception e) { e.printStackTrace(); } }