public void testGetCars() {
		
		TimeServer ts = new TimeServerLinked();
		
		VehicleAcceptor r = new VehicleAcceptorObj();
		
		Vehicle c = VehicleFactory.newCar(ts, r);
		r.accept(c);
		Assert.assertTrue(r.getCars().size() == 1);
		Assert.assertTrue(c.equals(r.getCars().get(0)));
		
		for	(int i=0;i<10;i++) {
			r.accept(VehicleFactory.newCar(ts, r));
		}
		
		Assert.assertTrue(r.getCars().size() == 11);
		Assert.assertTrue(c.equals(r.getCars().get(0)));
		Assert.assertTrue(c == r.getCars().get(0));
		
		for	(int i=0;i<10;i++) {
			//TODO rewtite TEST!!!!
			Assert.assertTrue(r.getCars().get(0) != null);
		}
		
	}