BinningFormModel { public int getNumRows() { if (getPropertyValue(PROPERTY_KEY_NUM_ROWS) == null) { return DEFAULT_NUM_ROWS; } return (Integer) getPropertyValue(PROPERTY_KEY_NUM_ROWS); } BinningFormModel(); PropertySet getPropertySet(); HashMap<String, Object> getParameterMap(); Product[] getSourceProducts(); String[] getSourceProductPath(); Product getContextProduct(); void useAsContextProduct(Product contextProduct); AggregatorConfig[] getAggregatorConfigs(); VariableConfig[] getVariableConfigs(); void setVariableConfigs(VariableConfig[] variableConfigs); Geometry getRegion(); String getMaskExpr(); BinningOp.TimeFilterMethod getTimeFilterMethod(); String getStartDateTime(); Double getPeriodDuration(); Double getMinDataHour(); int getSuperSampling(); int getNumRows(); void setProperty(String key, Object value); void addPropertyChangeListener(PropertyChangeListener propertyChangeListener); BindingContext getBindingContext();  }
@Test public void testGetNumRows() throws Exception { final BinningFormModel binningFormModel = new BinningFormModel(); assertEquals(2160, binningFormModel.getNumRows()); binningFormModel.setProperty(BinningFormModel.PROPERTY_KEY_NUM_ROWS, 2000); assertEquals(2000, binningFormModel.getNumRows()); }