### Question:
RestartableFileSystemWatcher implements FileWatcher { @Override public void close() throws IOException { delegate.close(); } RestartableFileSystemWatcher( FileWatcher delegate ); @Override WatchedResource watch( File file ); @Override void addFileWatchEventListener( FileWatchEventListener listener ); @Override void removeFileWatchEventListener( FileWatchEventListener listener ); @Override void stopWatching(); @Override void startWatching(); @Override void close();  }### Answer:
@Test void closeDelegateOnClose() throws IOException { watcher.close(); verify( delegate ).close(); }