@Test
public void testRemoveAllRoadSegments() {

	initTest();
	assertTrue(this.itinerary.isValidPrimitive());
	assertEquals(2, this.itinerary.getRoadSegmentCount());
	this.eventHandler.clear();
	this.itinerary.removeAllRoadSegments();
	this.eventHandler.assertBusChangedEvent(BusChangeEventType.VALIDITY, this.itinerary);
	this.eventHandler.assertBusShapeChangedEvent(BusChangeEventType.ALL_SEGMENTS_REMOVED, this.itinerary);
	this.eventHandler.assertNoBusShapeAttrChangedEvent();
	assertFalse(this.itinerary.isValidPrimitive());
	assertEquals(0, this.itinerary.getRoadSegmentCount());
}