@Test
public void reverseTopologicalSort() {

    List<Character> result = graph.reverseTopologicalSort();
    List<Character> expected = Arrays.asList('C', 'G', 'F', 'B', 'A', 'E', 'D');
    assertEquals(expected, result);
}