X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-topology-singleton%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Ftopology%2Fsingleton%2Fimpl%2FNetconfTopologyManagerTest.java;h=b3d4be1cde2c7f9b1931acdf42ef80f541944cde;hb=d682d29c57e64070078813dd1e70883a4ba258ee;hp=0353f889ab5ed16b222c3f483d62efc3a7f2a71a;hpb=7901b519a09351061e5a1dd061f7f7c0cc738fb8;p=netconf.git diff --git a/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/NetconfTopologyManagerTest.java b/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/NetconfTopologyManagerTest.java index 0353f889ab..b3d4be1cde 100644 --- a/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/NetconfTopologyManagerTest.java +++ b/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/NetconfTopologyManagerTest.java @@ -112,7 +112,6 @@ public class NetconfTopologyManagerTest { doReturn(wtx).when(dataBroker).newWriteOnlyTransaction(); doNothing().when(wtx).merge(any(), any(), any()); doReturn(Futures.immediateCheckedFuture(null)).when(wtx).submit(); - doReturn(null).when(dataBroker).registerDataChangeListener(any(), any(), any(), any()); netconfTopologyManager.init(); @@ -275,7 +274,7 @@ public class NetconfTopologyManagerTest { } } - private class CustomTreeModification implements DataTreeModification { + static class CustomTreeModification implements DataTreeModification { private final DataTreeIdentifier rootPath; private final DataObjectModification rootNode;