Exemplo n.º 1
0
        public UnitTestControllers()
        {
            visitorService = serviceCreator.CreateVisitorService(null);
            groupService   = serviceCreator.CreateGroupService(null);
            checkPoint     = serviceCreator.CreateCheckPointService(null);
            nationalities  = serviceCreator.CreateNationalityService(null);
            genders        = serviceCreator.CreateGenderService(null);

            visitorController = new VisitorController(groupService, checkPoint, nationalities, genders);
            groupController   = new GroupController(groupService, checkPoint, nationalities, genders);
            anketaController  = new AnketaController(anketaService, groupService, checkPoint, nationalities, genders);

            InitModel();
        }