### Question:
DefaultFilesystemAttachmentsConfiguration implements FilesystemAttachmentsConfiguration { @Override public boolean cleanOnStartup() { return this.configuration.getProperty(OLDPREFIX + "cleanOnStartup", Boolean.TRUE); }  @Override boolean cleanOnStartup(); @Override File getDirectory();  }### Answer:
@Test public void cleanOnStartup() { when(configurationSource.getProperty("store.fsattach.cleanOnStartup", Boolean.TRUE)).thenReturn(true); assertTrue(configuration.cleanOnStartup()); verify(configurationSource, times(1)).getProperty("store.fsattach.cleanOnStartup", Boolean.TRUE); }