@Test public void getDirectory() throws IOException { assertNull(configuration.getDirectory()); Path tempDir = Files.createTempDirectory("testxwiki"); when(configurationSource.getProperty("store.file.directory")).thenReturn(tempDir.toString()); assertEquals(tempDir.toFile(), configuration.getDirectory()); }
@Override public File getDirectory() { String directory = this.configuration.getProperty(PREFIX + "directory"); return directory != null ? new File(directory) : null; }
DefaultFilesystemAttachmentsConfiguration implements FilesystemAttachmentsConfiguration { @Override public File getDirectory() { String directory = this.configuration.getProperty(PREFIX + "directory"); return directory != null ? new File(directory) : null; } }
DefaultFilesystemAttachmentsConfiguration implements FilesystemAttachmentsConfiguration { @Override public File getDirectory() { String directory = this.configuration.getProperty(PREFIX + "directory"); return directory != null ? new File(directory) : null; }  }
DefaultFilesystemAttachmentsConfiguration implements FilesystemAttachmentsConfiguration { @Override public File getDirectory() { String directory = this.configuration.getProperty(PREFIX + "directory"); return directory != null ? new File(directory) : null; }  @Override boolean cleanOnStartup(); @Override File getDirectory(); }
DefaultFilesystemAttachmentsConfiguration implements FilesystemAttachmentsConfiguration { @Override public File getDirectory() { String directory = this.configuration.getProperty(PREFIX + "directory"); return directory != null ? new File(directory) : null; }  @Override boolean cleanOnStartup(); @Override File getDirectory();  }