public void Execute()
        {
            DAOFactory  daoFactory = DAOFactory.GetFactory(DAOFactory.Type.Postgres);
            IVehicleDAO vehicleDAO = daoFactory.GetVehicleDAO();

            _vehicles = vehicleDAO.GetAvailableVehiclesByLocation(_locationId);
        }
 public void TestGetAvailableVehiclesByLocation_LocationNotFoundException()
 {
     Assert.Throws <LocationNotFoundException>(
         () => vehicleDAO.GetAvailableVehiclesByLocation(100000)
         );
 }