@Test
public void testWriteExperimentWriter() throws Exception {

    try (BufferedWriter writer = new BufferedWriter(new FileWriter(createFile()))) {
        writeExperiment(experiment, writer);
    }
}