Bug 4614 - Reintroduce xid check for correct RPC handling
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / core / connection / RpcResponseKeyTest.java
index 0b816c25714a492342f07071034f15250fdd978b..2ef9cb82618cb8f1dc51c15034fcf0da6a9b9e2d 100644 (file)
@@ -40,6 +40,8 @@ public class RpcResponseKeyTest {
         key1 = new RpcResponseKey(xid1, outputClazz1);
         Assert.assertFalse("Wrong equal by outputClazz.", key1.equals(key2));
         key2 = new RpcResponseKey(xid2, outputClazz1);
+        Assert.assertFalse("Wrong equal.", key1.equals(key2));
+        key1 = new RpcResponseKey(xid2, outputClazz1);
         Assert.assertTrue("Wrong equal.", key1.equals(key2));
     }