@Test public void requireThatNonExistingFileCanNotBeFound() { assertFalse(fileServer.hasFile("12x")); }
boolean hasFile(String fileReference) { return hasFile(new FileReference(fileReference)); }
FileServer { boolean hasFile(String fileReference) { return hasFile(new FileReference(fileReference)); } }
FileServer { boolean hasFile(String fileReference) { return hasFile(new FileReference(fileReference)); } @SuppressWarnings("WeakerAccess") // Created by dependency injection @Inject  FileServer(ConfigserverConfig configserverConfig);  FileServer(File rootDir); private  FileServer(ConnectionPool connectionPool, File rootDir); }
FileServer { boolean hasFile(String fileReference) { return hasFile(new FileReference(fileReference)); } @SuppressWarnings("WeakerAccess") // Created by dependency injection @Inject  FileServer(ConfigserverConfig configserverConfig);  FileServer(File rootDir); private  FileServer(ConnectionPool connectionPool, File rootDir); void serveFile(String fileReference, boolean downloadFromOtherSourceIfNotFound, Request request, Receiver receiver); FileDownloader downloader(); void close(); }
FileServer { boolean hasFile(String fileReference) { return hasFile(new FileReference(fileReference)); } @SuppressWarnings("WeakerAccess") // Created by dependency injection @Inject  FileServer(ConfigserverConfig configserverConfig);  FileServer(File rootDir); private  FileServer(ConnectionPool connectionPool, File rootDir); void serveFile(String fileReference, boolean downloadFromOtherSourceIfNotFound, Request request, Receiver receiver); FileDownloader downloader(); void close();  }