KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > graph > log > ProcessInstanceLogsDbTest


1 package org.jbpm.graph.log;
2
3 import org.jbpm.db.AbstractDbTestCase;
4
5 public class ProcessInstanceLogsDbTest extends AbstractDbTestCase {
6
7   public void testProcessInstanceCreateLog() {
8     ProcessInstanceCreateLog processInstanceCreateLog = new ProcessInstanceCreateLog();
9     processInstanceCreateLog = (ProcessInstanceCreateLog) saveAndReload(processInstanceCreateLog);
10     assertNotNull(processInstanceCreateLog);
11   }
12
13   public void testProcessInstanceEndLog() {
14     ProcessInstanceEndLog processInstanceEndLog = new ProcessInstanceEndLog();
15     processInstanceEndLog = (ProcessInstanceEndLog) saveAndReload(processInstanceEndLog);
16     assertNotNull(processInstanceEndLog);
17   }
18 }
19
Popular Tags