<?php

include_once './createVehicle.php';
$vehicle = new createVehicle();
$vehicle->newVehicle(new controlBoat());
$vehicle->autoTest();
$vehicle->newVehicle(new controlCar());
$vehicle->autoTest();
<?php

include_once './createVehicle.php';
createVehicle::newVehicle('controlBoat');
createVehicle::newVehicle('controlBoat');
createVehicle::autoTest();
createVehicle::destoryVehicle();
createVehicle::newVehicle('controlCar');
createVehicle::autoTest();