Hello!
I have a strange problem with some graph elements comparation in unit tests - such as Nodes, and ProcessDefinitions. Absolutely same entities appear to be different!
For example, code line like
assertEquals(processDefinition.getNode("step1"), token.getNode());
junit.framework.AssertionFailedError: expected:<TaskNode(step1)> but was:<TaskNode(step1)>
assertEquals(processDefinition.getNode("step1").toString(), token.getNode().toString());