Add config for selecting provider
[netvirt.git] / openstack / net-virt-sfc / impl / src / test / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / netvirt / sfc / rev141210 / NetvirtSfcModuleTest.java
index 1704c1a97753b3b2a0e91983479d9e04d6aa479e..ecc9c11f116fe42a1906e6762f2e8811fadcedac 100644 (file)
@@ -23,7 +23,7 @@ import org.opendaylight.ovsdb.openstack.netvirt.sfc.NetvirtSfcProvider;
 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
 
 import javax.management.ObjectName;
-import org.opendaylight.ovsdb.openstack.netvirt.sfc.openflow13.services.SfcClassifierService;
+import org.opendaylight.ovsdb.openstack.netvirt.sfc.standalone.openflow13.services.SfcClassifierService;
 import org.opendaylight.ovsdb.utils.servicehelper.ServiceHelper;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceReference;
@@ -84,6 +84,7 @@ public class NetvirtSfcModuleTest {
                 .thenReturn(mock(ServiceReference.class));
         AutoCloseable closeable = module.getInstance();
         ((NetvirtSfcProvider)closeable).setBundleContext(bundleContext);
+        ((NetvirtSfcProvider)closeable).setOf13Provider("standalone");
         ((NetvirtSfcProvider)closeable).onSessionInitiated(session);
         // verify that the module registered the returned provider with the broker
         verify(broker).registerProvider((NetvirtSfcProvider)closeable);