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

            _vehicle = vehicleDAO.GetVehicleById(_vehicleId);
        }
 public void TestGetVehicleById_VehicleNotFoundException()
 {
     Assert.Throws <VehicleNotFoundException>(
         () => vehicleDAO.GetVehicleById(100000)
         );
 }