@Disabled // until we can change ContentPackImport to only import from the first
// dir it finds or a specified list.
@Test
void testStartup_customLocation(@TempDir final Path tempDir) throws IOException {

    setStandardMockAnswers();
    Mockito.when(contentPackImportConfig.isEnabled()).thenReturn(true);
    Mockito.when(contentPackImportConfig.getImportDirectory())
            .thenReturn(tempDir.toAbsolutePath().toString());
    ContentPackImport contentPackImport = getContentPackImport();
    Path packFile = tempDir.resolve("testFile1.zip");
    FileUtil.touch(packFile);
    contentPackImport.startup(Collections.singletonList(contentPackDir));
    Mockito.verify(importExportService, Mockito.times(1))
        .performImportWithoutConfirmation(packFile);
    assertThat(Files.exists(packFile)).isFalse();
    //File should have moved into the imported dir
    assertThat(Files.exists(packFile)).isFalse();
    assertThat(Files.exists(tempDir.resolve(ContentPackImport.IMPORTED_DIR).resolve(packFile.getFileName())))
            .isTrue();
}