@Test
public final void testNode2()
{
PTATestSequenceEngine engine = new PTATestSequenceEngine();
Node a = engine.new Node("A"), b = engine.new Node("A"), c = engine.new Node("B");
assertEquals("A", a.getState());
assertEquals("A", b.getState());
assertEquals("B", c.getState());
int aID = a.getID(), bID = b.getID(), cID = c.getID();
assertTrue(aID > 0 && bID > 0 && cID > 0);
assertTrue(aID != bID && aID != cID && aID != bID);
assertTrue(a.hashCode() != b.hashCode() && a.hashCode() != c.hashCode() && b.hashCode() != c.hashCode());
assertTrue(a.hashCode() != engine.rejectNode.hashCode());
assertTrue(b.hashCode() != engine.rejectNode.hashCode());
assertTrue(c.hashCode() != engine.rejectNode.hashCode());
}