public class BasePathSelectionModeFactoryTest extends BGPPeerTrackerMock {
@Test
- public void testCreateBestPathSelectionStrategy() throws Exception {
+ public void testCreateBestPathSelectionStrategy() {
final PathSelectionMode psm = BasePathSelectionModeFactory.createBestPathSelectionStrategy(this.peerTracker);
Assert.assertTrue(psm.createRouteEntry(true) instanceof ComplexRouteEntry);
- Assert.assertTrue(psm.createRouteEntry(false) instanceof SimpleRouteEntry);
}
}
\ No newline at end of file