Integrate MRI projects for Neon
[netconf.git] / netconf / netconf-client / src / test / java / org / opendaylight / netconf / client / SimpleNetconfClientSessionListenerTest.java
index 68c1a762f079d47bb062f64cfe4e58f877200f28..ec891fcbdd77196c6eb21e7bd7e5883598f5bd9f 100644 (file)
@@ -61,7 +61,7 @@ public class SimpleNetconfClientSessionListenerTest {
         final EventLoop eventLoop = mock(EventLoop.class);
         doReturn(eventLoop).when(channel).eventLoop();
         doAnswer(invocation -> {
-            invocation.getArgumentAt(0, Runnable.class).run();
+            invocation.<Runnable>getArgument(0).run();
             return null;
         }).when(eventLoop).execute(any(Runnable.class));
     }