@Test
public void testGetEdges() {

    graph.addVertex();
    graph.addVertex();
    graph.addVertex();
    graph.addEdge(0, 1, null);
    graph.addEdge(1, 2, null);
    assertArrayEquals(new int[]{0, 1}, graph.getEdges());
}