### Question:
FileManager extends AbstractManager implements IFileManager { @Override public boolean existsRemote(final Path path) { FileNode item = null; FileNode list = null; try { list = listFiles().execute(); item = getFileNodeByPath(list, path); } catch (NoPeerConnectionException | NoSessionException | InvalidProcessStateException | ProcessExecutionException e) { item = null; logger.warn("Could not check existsRemote - Exception: {}", e.getMessage(), e); } return item != null ? true : false; } @Inject  FileManager(final INodeManager nodeManager, final UserConfig userConfig); @Override ProcessHandle<Void> add(final Path file); @Override ProcessHandle<Void> update(final Path file); @Override ProcessHandle<Void> delete(final Path file); @Override ProcessHandle<Void> move(final Path source, final Path destination); @Override ProcessHandle<Void> download(final Path file); @Override ProcessHandle<Void> recover(final Path file, final IVersionSelector versionSelector); @Override ProcessHandle<Void> share(final Path folder, final String userId, final PermissionType permission); @Override ProcessHandle<FileNode> listFiles(); @Override boolean existsRemote(final Path path); @Override boolean isSmallFile(final Path path); @Override boolean isLargeFile(final Path path);  }### Answer:
@Test public void testExistsRemote() throws IOException { }