@Test
public void testRemoveAllBusHubs() {

	initTest();
	assertTrue(this.network.isValidPrimitive());
	this.network.addBusHub(this.stop1, this.stop2);
	this.network.addBusHub(this.stop3, this.stop4);
	assertEquals(2, this.network.getBusHubCount());
	assertTrue(this.network.isValidPrimitive());
	this.eventHandler.clear();
	this.network.removeAllBusHubs();
	assertTrue(this.network.isValidPrimitive());
	assertEquals(0, this.network.getBusHubCount());
	this.eventHandler.assertBusChangedEvent(BusChangeEventType.ALL_HUBS_REMOVED, this.network);
	this.eventHandler.assertNoBusShapeChangedEvent();
	this.eventHandler.assertNoBusShapeAttrChangedEvent();
}