X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Frpc%2FRpcManagerImplTest.java;h=62ce9bdade20f254fe879c51bd48df94983d9877;hb=4ac927548dfd7f66ded8a636b518fbac3f17ec8c;hp=f3c6dabb6bd429ae0467c1a152b0f1d713fd4f9c;hpb=f617cff46bc5bd15596648d4e853caded276ed45;p=openflowplugin.git diff --git a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcManagerImplTest.java b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcManagerImplTest.java index f3c6dabb6b..62ce9bdade 100644 --- a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcManagerImplTest.java +++ b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcManagerImplTest.java @@ -123,7 +123,7 @@ public class RpcManagerImplTest { Mockito.when(deviceContext.getMessageSpy()).thenReturn(messageSpy); Mockito.when(deviceInfo.getNodeId()).thenReturn(nodeKey.getId()); Mockito.when(rpcProviderRegistry.addRoutedRpcImplementation( - Matchers.>any(), Matchers.any(RpcService.class))) + Matchers.any(), Matchers.any(RpcService.class))) .thenReturn(routedRpcRegistration); Mockito.when(contexts.remove(deviceInfo)).thenReturn(removedContexts); Mockito.when(lifecycleService.getDeviceContext()).thenReturn(deviceContext); @@ -165,7 +165,7 @@ public class RpcManagerImplTest { */ @Test public void onDeviceContextLevelDown1() { - rpcManager.addRecordToContexts(deviceInfo,removedContexts); + rpcManager.addRecordToContexts(deviceInfo, removedContexts); rpcManager.onDeviceContextLevelDown(deviceInfo); verify(removedContexts,times(1)).close(); verify(deviceTerminationPhaseHandler,times(1)).onDeviceContextLevelDown(deviceInfo);