8990919293949596
@Test public void testSaveObject() throws Exception { costType = new CostType(); costType.setCostTypeName("test"); viewHandler.saveObject(new CostTypeModel(costType), null); assertEquals(1, viewHandler.getObjectSelectionListSize()); }
39404142434445
* @param costType * @param searchDialog */ public EditCostTypeView(CostTypeViewHandler handler, CostType costType, boolean searchDialog) { super(searchDialog, new CostTypeModel(costType), handler); }