@Test
public void testSetType() {

	assertEquals(BusItineraryHaltType.STOP_ON_DEMAND, this.halt.getType());
	this.eventHandler.clear();
	this.halt.setType(BusItineraryHaltType.SYSTEMATIC_STOP);
	assertEquals(BusItineraryHaltType.SYSTEMATIC_STOP, this.halt.getType());
	this.eventHandler.assertBusChangedEvent(BusChangeEventType.ITINERARY_HALT_CHANGED, this.halt);
	this.eventHandler.assertNoBusShapeChangedEvent();
	this.eventHandler.assertNoBusShapeAttrChangedEvent();
	this.eventHandler.clear();
	this.halt.setType(null);
	assertEquals(BusItineraryHaltType.SYSTEMATIC_STOP, this.halt.getType());
	this.eventHandler.assertNoEvent();
	this.eventHandler.clear();
	this.halt.setType(BusItineraryHaltType.STOP_ON_DEMAND);
	assertEquals(BusItineraryHaltType.STOP_ON_DEMAND, this.halt.getType());
	this.eventHandler.assertBusChangedEvent(BusChangeEventType.ITINERARY_HALT_CHANGED, this.halt);
	this.eventHandler.assertNoBusShapeChangedEvent();
	this.eventHandler.assertNoBusShapeAttrChangedEvent();
}