Ejemplo n.º 1
0
 public void Initialize()
 {
     BaseSqlTests.SeedDatabase();
     _studentRepository = new StudentRepository();
     _resultRepository  = new ResultRepository();
     _service           = new StudentService(_studentRepository, _resultRepository);
 }
 public void Initialize()
 {
     BaseSqlTests.SeedDatabase();
     _repository       = new EvaluationRepository();
     _resultRepository = new ResultRepository();
     _service          = new EvaluationService(_repository, _resultRepository);
 }
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();
            _loanRepository = new LoanRepository();

            _book = ObjectMother.GetBookOK();
        }
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();

            _repository = new OrderRepository();

            _product = ObjectMother.GetProductOk();
        }
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();
            _repository = new ResultRepository();
            _service    = new ResultService(_repository);

            _student    = ObjectMother.GetExistentValidStudent();
            _evaluation = ObjectMother.GetExistentValidEvaluation();
        }
Ejemplo n.º 6
0
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();

            _loanRepositopty = new LoanRepository();
            _bookRepository  = new BookRepository();
            _loanService     = new LoanService(_loanRepositopty);
            _bookService     = new BookService(_bookRepository, _loanService);
        }
Ejemplo n.º 7
0
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();

            _orderRepositopty = new OrderRepository();
            _repository       = new ProductRepository();
            _orderService     = new OrderService(_orderRepositopty);
            _productService   = new ProductService(_repository, _orderService);
        }
 public void SalaSqlRepositoryTest_Set()
 {
     _salaSqlRepository = new SalaSqlRepository();
     _sala = ObjectMother.Sala();
     BaseSqlTests.SeedDatabase();
 }
Ejemplo n.º 9
0
 public void UsuarioRepositorySqlTest_Set()
 {
     _usuarioSqlRepository = new UsuarioSqlRepository();
     _usuario = ObjectMother.Usuario();
     BaseSqlTests.SeedDatabase();
 }
Ejemplo n.º 10
0
        public void Initialize()
        {
            BaseSqlTests.SeedDatabase();

            _repository = new ProductRepository();
        }
Ejemplo n.º 11
0
 public void Initialize()
 {
     BaseSqlTests.SeedDatabase();
     _bookRepository = new BookRepository();
 }