Exemplo n.º 1
0
 @Override
 public void tearDown() throws Exception {
   try {
     auditService.clear();
     auditService.dispose();
   } finally {
     super.tearDown();
   }
 }
Exemplo n.º 2
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   auditService = new JPAAuditLogService(getEmf());
   auditService.clear();
 }