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

    Path inputFile = Paths.get("src/test/resources/genome/liftover");
    Path expectedOutputFile = Paths.get("src/test/resources/genome/liftover/hg19_fantom_permissive_enhancer_usage.bed");
    FantomEnhancerToBedConverter instance = new FantomEnhancerToBedConverter(inputFile, tempDir);
    instance.run();
    List<String> expected = Files.readAllLines(expectedOutputFile);
    List<String> actual = Files.readAllLines(tempDir.resolve("hg19_fantom_permissive_enhancer_usage.bed"));
    assertThat(actual, equalTo(expected));
}