### Question:
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();  }### Answer:
@Test public void testClose() throws Exception { Mockito.verify(listenerRegistration, Mockito.never()).close(); listener.close(); Mockito.verify(listenerRegistration).close(); }