Removing invalid casts from hosttracker.
[controller.git] / opendaylight / hosttracker / api / src / test / java / org / opendaylight / controller / hosttracker / hostAware / HostNodeConnectorTest.java
index ee38fc7..c29e5b1 100644 (file)
@@ -57,8 +57,7 @@ public class HostNodeConnectorTest extends TestCase {
                        Assert.assertTrue(hostnodeconnector_2.isV6Host());\r
                        Assert.assertTrue(hostnodeconnector_2.getnodeConnector().equals(nc1));\r
                        Assert.assertTrue(hostnodeconnector_2.getnodeconnectorNode().equals(node));\r
-                       Assert.assertTrue(node.getID().equals(hostnodeconnector_2.getnodeconnectornodeId()));\r
-                       Assert.assertTrue(hostnodeconnector_2.getnodeconnectorportId().equals((short)2));\r
+                        Assert.assertTrue(node.equals(hostnodeconnector_2.getnodeconnectorNode()));\r
                } catch (ConstructionException e) {\r
                        Assert.assertTrue(false);\r
                }\r