@Test
public void testMinimalPathIterator() {

    int count = 0;
    for (MinimalPathIterator i = new MinimalPathIterator(g, "a", "l"); i.hasNext();) {
        Assert.assertTrue(((List) i.next()).size() == 5);
        count++;
    }
    Assert.assertEquals(10, count);
}