Assert.assertNotNull(route);
Assert.assertEquals(route.size(), numConnectionsExpected);
Connection[] connections = values.toArray(new Connection[numConnectionsExpected]);
Assert.assertEquals(connections[0].getStationFrom(), new Station("A"));
Assert.assertEquals(connections[0].getStationTo(), new Station("G"));
Assert.assertEquals(connections[1].getStationFrom(), new Station("G"));
Assert.assertEquals(connections[1].getStationTo(), new Station("F"));
Assert.assertEquals(connections[2].getStationFrom(), new Station("F"));
Assert.assertEquals(connections[2].getStationTo(), new Station("H"));
}