@Test public void testUpdateObject() { int id = batchHandler.insertObject(groupSetA, true); groupSetA.setId(id); groupSetA.setName("UpdatedName"); batchHandler.updateObject(groupSetA); assertEquals("UpdatedName", indicatorService.getIndicatorGroupSet(id).getName()); }