*/
package org.opendaylight.protocol.bgp.rib.impl;
+import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
@Mock
private BGPDispatcher dispatcher;
- private BGPPeerTracker peerTracker = new BGPPeerTrackerImpl();
+ private final BGPPeerTracker peerTracker = new BGPPeerTrackerImpl();
private CodecsRegistryImpl codecsRegistry;
@Before
for (final Tables table : tables) {
if (table.getAfi().equals(tableType.getAfi()) && table.getSafi().equals(tableType.getSafi())) {
found = true;
- assertTrue(Boolean.valueOf(true).equals(table.getAttributes().isUptodate()));
+ assertEquals(Boolean.valueOf(true), table.getAttributes().isUptodate());
}
}
assertTrue(found);