@Test
public void testToRoadPath() {

	assertNull(this.cPath.toRoadPath());
	this.cPath.add(this.path1);
	assertEquals(1, this.cPath.size());
	assertTrue(this.cPath.contains(this.path1));
	assertFalse(this.cPath.contains(this.path2));
	assertFalse(this.cPath.contains(this.path3));
	assertSame(this.path1, this.cPath.toRoadPath());
	this.cPath.add(this.path2);
	assertEquals(2, this.cPath.size());
	assertTrue(this.cPath.contains(this.path1));
	assertTrue(this.cPath.contains(this.path2));
	assertFalse(this.cPath.contains(this.path3));
	assertNull(this.cPath.toRoadPath());
	this.cPath.add(this.path3);
	assertEquals(1, this.cPath.size());
	assertTrue(this.cPath.contains(this.path1));
	assertFalse(this.cPath.contains(this.path2));
	assertFalse(this.cPath.contains(this.path3));
	assertSame(this.path1, this.cPath.toRoadPath());
}