RuntimeModelLoader { protected void createBaseDir() { java.nio.file.Path baseDirPath = Paths.get(runtimeOptions.getImportsBaseDir()); baseDirPath.toFile().mkdirs(); }    }
@Test public void testCreateBaseDir() { String tempPath = Paths.get(baseTempDir.toString(), "tmp").toString(); when(runtimeOptions.getImportsBaseDir()).thenReturn(tempPath); assertFalse(Paths.get(tempPath).toFile().exists()); runtimeModelLoader.createBaseDir(); assertTrue(Paths.get(tempPath).toFile().exists()); }