@Override public void tearDown() throws Exception { try { auditService.clear(); auditService.dispose(); } finally { super.tearDown(); } }
@Override public void tearDown() throws Exception { try { taskAuditService.clear(); taskAuditService.dispose(); abortProcess(kieSession, processInstanceList); } finally { super.tearDown(); } }
@Override public void setUp() throws Exception { super.setUp(); taskAuditService = new TaskJPAAuditService(getEmf()); taskAuditService.clear(); }