Refactor pretty printing
[netconf.git] / restconf / restconf-nb / src / test / java / org / opendaylight / restconf / server / mdsal / streams / dtcl / CreateNotificationStreamRpcTest.java
index 4bfac3b84c6dc194cc5a24aee05ed7c2d2005c54..37e6cc43c6dfd7f720abc88d1961b36b0adb3bf9 100644 (file)
@@ -98,7 +98,7 @@ class CreateNotificationStreamRpcTest {
         doReturn(CommitInfo.emptyFluentFuture()).when(tx).commit();
 
         final var output = assertInstanceOf(ContainerNode.class, rpc.invoke(RESTCONF_URI, createInput("path", TOASTER))
-            .getOrThrow().output());
+            .getOrThrow());
 
         assertEquals(new NodeIdentifier(CreateDataChangeEventSubscriptionOutput.QNAME), output.name());
         assertEquals(1, output.size());