@Test
public void testParse() {

    Resource testResource = new Resource("MIM2GENE");
    testResource.setExtractedFileName("mim2gene_test.txt");
    testResource.setParsedFileName("testMim2Gene.out");
    Map<Integer, Integer> mim2geneMap = new HashMap<>();
    MimToGeneParser instance = new MimToGeneParser(mim2geneMap);
    instance.parseResource(testResource, Paths.get("src/test/resources/data"), Paths.get("target/test-data"));
    Map<Integer, Integer> expected = new HashMap<>();
    expected.put(123463, 124);
    expected.put(123464, 123);
    expected.put(123466, 216);
    expected.put(123468, 87);
    assertThat(mim2geneMap, equalTo(expected));
    assertThat(testResource.getParseStatus(), equalTo(ResourceOperationStatus.SUCCESS));
}