JBPM Tools Reference Guide JUnit problem with assertNotNull
-----------------------------------------------------------
Key: JBDS-645
URL:
https://jira.jboss.org/jira/browse/JBDS-645
Project: Developer Studio
Issue Type: Bug
Components: Doc - jbpm
Reporter: Stelios Koussouris
Assignee: OLga Chikvina
Priority: Trivial
Fix For: 2.0.1, 2.1.0
Time Spent: 5 hours
Remaining Estimate: 0 minutes
6.1. Creating a Hello World Action
They JUnit test shown in "Figure 6.2. A Simple Hello Action"
assertNotNull(
"The greeting variable should not exist ",
instance.getContextInstance().getVariable("greeting"));
always seems to fail as there is no "greeting" variable before it is created in
the "transition" from the "start" to the "auction" state. Is
this not true? The JUnit succeeds if changed to assertNull
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: