@Test
public void testRoadSegments() {

	// path1 = [ s1, s4, s3, s5 ]
	// path2 = [ s9, s6 ]
	// path3 = [ s11, s3, s4, s1, s2 ]
	this.cPath.add(this.path1);
	this.cPath.add(this.path2);
	Iterator<RoadSegment> iterator = this.cPath.roadSegments();
	assertTrue(iterator.hasNext());
	assertSame(this.segment1, iterator.next());
	assertTrue(iterator.hasNext());
	assertSame(this.segment4, iterator.next());
	assertTrue(iterator.hasNext());
	assertSame(this.segment3, iterator.next());
	assertTrue(iterator.hasNext());
	assertSame(this.segment5, iterator.next());
	assertTrue(iterator.hasNext());
	assertSame(this.segment9, iterator.next());
	assertTrue(iterator.hasNext());
	assertSame(this.segment6, iterator.next());
	assertFalse(iterator.hasNext());
}