Replace slf4j-log4j12
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / rpc / RpcContextImplTest.java
index 30afdaa2de4b0eee400498ffde9dc17e79a3546e..9762a21a35bf533ba269649080ed0fdfca898198 100644 (file)
@@ -158,7 +158,6 @@ public class RpcContextImplTest {
 
     @Test
     public void testClose() {
-        when(routedRpcReg.getInstance()).thenReturn(serviceInstance);
         rpcContext.registerRpcServiceImplementation(TestRpcService.class, serviceInstance);
         rpcContext.close();
         assertTrue(rpcContext.isEmptyRpcRegistrations());