nodeInstances = processInstance.getNodeInstances();
assertEquals(1, nodeInstances.size());
stateInstance = (StateNodeInstance) nodeInstances.iterator().next();
assertEquals("StateC", stateInstance.getNodeName());
// signal something completely wrong, this should simply be ignored
processInstance.signalEvent("signal", "Invalid");
nodeInstances = processInstance.getNodeInstances();
assertEquals(1, nodeInstances.size());
stateInstance = (StateNodeInstance) nodeInstances.iterator().next();
assertEquals("StateC", stateInstance.getNodeName());
// signal "End", so we move to the end