@Test public void testClose() throws Exception { Mockito.verify(listenerRegistration, Mockito.never()).close(); listener.close(); Mockito.verify(listenerRegistration).close(); }
@Override public void close() { listenerRegistration.close(); }
IosXeCapableNodeListenerImpl implements ClusteredDataTreeChangeListener<Node>, AutoCloseable { @Override public void close() { listenerRegistration.close(); } }
IosXeCapableNodeListenerImpl implements ClusteredDataTreeChangeListener<Node>, AutoCloseable { @Override public void close() { listenerRegistration.close(); } IosXeCapableNodeListenerImpl(final DataBroker dataBroker, final NodeManager nodeManager); }
IosXeCapableNodeListenerImpl implements ClusteredDataTreeChangeListener<Node>, AutoCloseable { @Override public void close() { listenerRegistration.close(); } IosXeCapableNodeListenerImpl(final DataBroker dataBroker, final NodeManager nodeManager); @Override void onDataTreeChanged(@Nonnull Collection<DataTreeModification<Node>> changes); @Override void close(); }
IosXeCapableNodeListenerImpl implements ClusteredDataTreeChangeListener<Node>, AutoCloseable { @Override public void close() { listenerRegistration.close(); } IosXeCapableNodeListenerImpl(final DataBroker dataBroker, final NodeManager nodeManager); @Override void onDataTreeChanged(@Nonnull Collection<DataTreeModification<Node>> changes); @Override void close();  }