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

            _vehicles = vehicleDAO.GetVehicles();
        }
 public void TestGetVehicles_Success()
 {
     Assert.NotZero(
         vehicleDAO.GetVehicles().Count);
 }