KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jbpm.graph.log;
2
3 import org.jbpm.db.AbstractDbTestCase;
4 import org.jbpm.graph.def.Transition;
5
6 public class SignalLogDbTest extends AbstractDbTestCase {
7
8   public void testProcessInstanceCreateLog() {
9     Transition transition = new Transition();
10     jbpmSession.getSession().save(transition);
11     
12     SignalLog signalLog = new SignalLog(transition);
13     signalLog = (SignalLog) saveAndReload(signalLog);
14     assertNotNull(signalLog.getTransition());
15   }
16 }
17
Popular Tags