7374757677787980
@Test public void testSaveObject() throws Exception { costUnit = new CostUnit(); costUnit.setCostUnitName("test"); viewHandler.saveObject(new CostUnitModel(costUnit), null); assertEquals(1, viewHandler.getObjectSelectionListSize()); }
39404142434445
* @param costUnit * @param searchDialog */ public EditCostUnitView(CostUnitViewHandler handler, CostUnit costUnit, boolean searchDialog) { super(searchDialog, new CostUnitModel(costUnit), handler); }