Esempio n. 1
0
        public void After()
        {
            mockOfertaInt    = null;
            mockOfertaString = null;
            daoOferta        = null;


            mockListaPaquetes   = null;
            mockListaPaquetesP  = null;
            mockListaPaquetesCP = null;
            daoOferta           = null;
        }
Esempio n. 2
0
 public void Before()
 {
     mockOfertaInt = new Oferta(25, "Oferta de Verano", 30, new DateTime(2008, 3, 9, 16, 5, 7, 123),
                                new DateTime(2008, 4, 9, 16, 5, 7, 123), true);
     mockOfertaString = new Oferta("25", "Oferta de Verano", 30, new DateTime(2008, 3, 9, 16, 5, 7, 123),
                                   new DateTime(2008, 4, 9, 16, 5, 7, 123), true);
     mockListaPaquetes   = new List <String>();
     mockListaPaquetesP  = new List <Paquete>();
     mockListaPaquetesCP = new List <CPaquete>();
     daoOferta           = new DAOOferta();
     daoPaquete          = new DAOPaquete();
     mockPaquete         = new Paquete(24, "Paquete de Prueba", 1384000, true);
     idPruebas           = 25;
 }