/** @throws java.lang.Exception */
  @Before
  public void setUp() throws Exception {

    cp = new CarPark();
    s = new Car("testcar", 5, true);
    sim = new Simulator();
    cp.tryProcessNewVehicles(6, sim);
    cp.tryProcessNewVehicles(7, sim);
    cp.tryProcessNewVehicles(8, sim);
  }
 /**
  * Test method for {@link asgn2CarParks.CarPark#tryProcessNewVehicles(int,
  * asgn2Simulators.Simulator)}.
  *
  * @throws SimulationException
  * @throws VehicleException
  */
 @Test
 public void testTryProcessNewVehicles() throws VehicleException, SimulationException {
   cp.tryProcessNewVehicles(8, sim);
 }