2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.bgp.mode.impl.add.all.paths;
10 import org.junit.Assert;
11 import org.junit.Test;
12 import org.opendaylight.protocol.bgp.mode.api.PathSelectionMode;
13 import org.opendaylight.protocol.bgp.mode.impl.BGPPeerTrackerMock;
15 public class PathSelectionModeFactoryTest extends BGPPeerTrackerMock {
17 public void testCreateBestPathSelectionStrategy() {
18 final PathSelectionMode psm = new AllPathSelection(this.peerTracker);
19 Assert.assertTrue(psm.createRouteEntry(true) instanceof ComplexRouteEntry);