Deprecate RpcServiceInvoker.from(Class)
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / java / org / opendaylight / mdsal / binding / dom / adapter / invoke / RpcServiceInvokerTest.java
index 8cdabe953003d8ef56f5424d1c80ee7d51609312..7e3ac44c424f105444b9516a517bd948a4d43f4d 100644 (file)
@@ -32,6 +32,7 @@ public class RpcServiceInvokerTest {
             QName.create(QNameModule.create(XMLNamespace.of("testURI"), Revision.of("2017-10-26")), "test"), method)));
     }
 
+    @Deprecated(forRemoval = true)
     @Test(expected = IllegalArgumentException.class)
     public void fromWithExceptionTest() {
         RpcServiceInvoker.from(RpcService.class);