public void testGetSetNextSegment() {
		
		VehicleAcceptor[] roads = new VehicleAcceptor[10];
		
		for (int i = 0; i < 10; i++) {
			VehicleAcceptor r = VehicleAcceptorFactory.newRoad();
			roads[i] = r;
			if (i > 0) {
				roads[i-1].setNextSeg(r);
			}
		}
		
		for (int i =0; i < 9; i++) {
			Assert.assertTrue(roads[i].getNextSeg(null) != null);
		}
		Assert.assertTrue(roads[9].getNextSeg(null) == null);
		
	}