Use ControllerContext non-statically
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / ExpressionParserTest.java
index 434304da2193c08464e2fd71830fa841e28afa2b..220537909cf16b25c896ee3ce0e85bacf9cda01a 100644 (file)
@@ -134,7 +134,8 @@ public class ExpressionParserTest {
         final YangInstanceIdentifier path = Mockito.mock(YangInstanceIdentifier.class);
         final PathArgument pathValue = NodeIdentifier.create(QName.create("module", "2016-12-14", "localName"));
         Mockito.when(path.getLastPathArgument()).thenReturn(pathValue);
-        final ListenerAdapter listener = Notificator.createListener(path, "streamName", NotificationOutputType.JSON);
+        final ListenerAdapter listener = Notificator.createListener(path, "streamName", NotificationOutputType.JSON,
+                null);
         listener.setQueryParams(Instant.now(), Optional.empty(), Optional.ofNullable(filter), false);
 
         // FIXME: do not use reflection here