@Test
public void testGetFirstCrossRoad() {

	RoadPath path = new RoadPath();
	path.add(this.segment3, this.segment3.getBeginPoint());
	path.add(this.segment4);
	path.add(this.segment1);
	path.add(this.segment2);
	path.add(this.segment6, this.segment6.getEndPoint());
	path.add(this.segment8);
	assertFalse(path.isEmpty());
	assertEquals(6, path.size());
	assertEquals(this.segment2.getBeginPoint(), path.getFirstCrossRoad());
}