@Test public void testDfsLoopAlgorithm() { algo.dfs(TEST_REVERS_ADJACENCY_LIST, V1); assertThat(algo.getExplored(), hasItems(V1, V2, V3)); }