Пример #1
0
        public StudentRepositoryTests()
        {
            _container = new SimpleInjectorContainer();
            _container.RegisterDependencies();
            _studentRepository = _container.GetInstance <IStudentRepository>();
            _uow = _container.GetInstance <IUnitOfWork>();

            _name    = new Name("Vivi", "Pode subir");
            _address = new Address("Brasil", "SP", "Sorocaba", "Teste", "Rua A", 50, "");
            _email   = new Email("*****@*****.**");
            _student = new Student(Guid.NewGuid(), _name, _address, _email, "(15)98011-1551");
        }