Bump upstreams
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / rpc / RpcContextImplTest.java
index 796ce7da595a0d12cbf5335acdc792356514efcf..1555a22c73a0209a3d909e3017150ca8e3005d4f 100644 (file)
@@ -15,7 +15,7 @@ import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-import com.google.common.collect.ClassToInstanceMap;
+import java.util.Collection;
 import java.util.Set;
 import org.junit.Before;
 import org.junit.Test;
@@ -70,7 +70,7 @@ public class RpcContextImplTest {
     @Mock
     private DeviceFlowRegistry flowRegistry;
     @Captor
-    private ArgumentCaptor<ClassToInstanceMap<Rpc<?, ?>>> captor;
+    private ArgumentCaptor<Collection<Rpc<?, ?>>> captor;
 
     private KeyedInstanceIdentifier<Node, NodeKey> nodeInstanceIdentifier;
     private RpcContextImpl rpcContext;
@@ -161,7 +161,7 @@ public class RpcContextImplTest {
 
     @Test
     public void testInstantiateServiceInstance() {
-        when(rpcProviderRegistry.registerRpcImplementations(any(),
+        when(rpcProviderRegistry.registerRpcImplementations(any(Collection.class),
             eq(Set.of(nodeInstanceIdentifier)))).thenReturn(registration);
         when(deviceContext.getDeviceFlowRegistry()).thenReturn(flowRegistry);