@Test
@ExtendWith(TempDirectory.class)
public void testParseHPO(@TempDirectory.TempDir Path tempDir) throws Exception {

    Resource testResource = new Resource("HPO");
    testResource.setExtractedFileName("hp.obo");
    testResource.setParsedFileName("hpo.pg");
    Map<String, String> hpId2termMap = new HashMap<>();
    HPOOntologyFileParser instance = new HPOOntologyFileParser(hpId2termMap);
    instance.parseResource(testResource, Paths.get("src/test/resources/data"), tempDir);
    assertFalse(hpId2termMap.isEmpty());
    assertTrue(tempDir.resolve("hp_alt_ids.pg").toFile().exists());
    assertTrue(tempDir.resolve("hpo.pg").toFile().exists());
}