@Test
public void testWriteGraph() throws IOException {

    String[] edges = {"A,B"};
    writeToGraph(edges);
    lines = Files.readAllLines(path, charset);
    assertTrue(lines.contains("A B"));
    assertEquals(1, lines.size());
}