public class PathSelectionModeFactoryTest extends BGPPeerTrackerMock {
@Test
- public void testCreateBestPathSelectionStrategy() throws Exception {
+ public void testCreateBestPathSelectionStrategy() {
final PathSelectionMode psm = new AllPathSelection(this.peerTracker);
Assert.assertTrue(psm.createRouteEntry(true) instanceof ComplexRouteEntry);
- Assert.assertTrue(psm.createRouteEntry(false) instanceof SimpleRouteEntry);
}
}