Code Clean Up
[bgpcep.git] / pcep / impl / src / test / java / org / opendaylight / protocol / pcep / impl / PCEPSessionImplTest.java
index 29677fd23bd51111bbe1962d8787b964a64becbe..8eccb4b8e48389108253dd24b1bcbf7ae44a7bbb 100644 (file)
@@ -112,14 +112,14 @@ public class PCEPSessionImplTest extends AbstractPCEPSessionTest {
     @Test
     public void testSessionStatistics() {
         this.session.handleMessage(Util.createErrorMessage(PCEPErrors.LSP_RSVP_ERROR, null));
-        Assert.assertEquals(ipAddress, this.session.getPeerPref().getIpAddress());
+        Assert.assertEquals(this.ipAddress, this.session.getPeerPref().getIpAddress());
         final PeerPref peerPref = this.session.getPeerPref();
-        Assert.assertEquals(ipAddress, peerPref.getIpAddress());
+        Assert.assertEquals(this.ipAddress, peerPref.getIpAddress());
         Assert.assertEquals(DEADTIMER, peerPref.getDeadtimer().shortValue());
         Assert.assertEquals(KEEP_ALIVE, peerPref.getKeepalive().shortValue());
         Assert.assertEquals(0, peerPref.getSessionId().intValue());
         final LocalPref localPref = this.session.getLocalPref();
-        Assert.assertEquals(ipAddress, localPref.getIpAddress());
+        Assert.assertEquals(this.ipAddress, localPref.getIpAddress());
         Assert.assertEquals(DEADTIMER, localPref.getDeadtimer().shortValue());
         Assert.assertEquals(KEEP_ALIVE, localPref.getKeepalive().shortValue());
         Assert.assertEquals(0, localPref.getSessionId().intValue());