@Test
public void testIsValidPrimitive() {

	BusStop b1 = new BusStopStub(this.busNetwork, "STOP1"); //$NON-NLS-1$
	BusStop b2 = new BusStopStub(this.busNetwork, "STOP2"); //$NON-NLS-1$
	assertFalse(this.hub.isValidPrimitive());
	this.hub.addBusStop(b1);
	assertFalse(this.hub.isValidPrimitive());
	this.hub.addBusStop(b2);
	assertFalse(this.hub.isValidPrimitive());
	b1.setPosition(new GeoLocationPoint(10., 10.));
	assertFalse(this.hub.isValidPrimitive());
	b2.setPosition(new GeoLocationPoint(11., 11.));
	assertTrue(this.hub.isValidPrimitive());
}