- selector.processPath(ROUTER_ID2, createStateFromPrefMedOriginASPath());
- final BestPath processedPath = selector.result();
-
- assertEquals(originBestPath.getRouterId(), processedPath.getRouterId());
- assertEquals(originBestPath.getState().getAsPathLength(), processedPath.getState().getAsPathLength());
- assertEquals(originBestPath.getState().getLocalPref(), processedPath.getState().getLocalPref());
- assertEquals(originBestPath.getState().getMultiExitDisc(), processedPath.getState().getMultiExitDisc());
- assertEquals(originBestPath.getState().getOrigin(), processedPath.getState().getOrigin());
- assertEquals(originBestPath.getState().getPeerAs(), processedPath.getState().getPeerAs());
+ this.selector.processPath(this.ROUTER_ID2, createStateFromPrefMedOriginASPath());
+ final BestPath processedPath = this.selector.result();
+
+ assertEquals(this.originBestPath.getRouterId(), processedPath.getRouterId());
+ assertEquals(this.originBestPath.getState().getAsPathLength(), processedPath.getState().getAsPathLength());
+ assertEquals(this.originBestPath.getState().getLocalPref(), processedPath.getState().getLocalPref());
+ assertEquals(this.originBestPath.getState().getMultiExitDisc(), processedPath.getState().getMultiExitDisc());
+ assertEquals(this.originBestPath.getState().getOrigin(), processedPath.getState().getOrigin());
+ assertEquals(this.originBestPath.getState().getPeerAs(), processedPath.getState().getPeerAs());