Esempio n. 1
0
        public ApplicationUserServiceTest()
        {
            this._applicationUserRepository = new MockApplicationUserRepository();
            this.Seed();

            this._applicationUserService = new ApplicationUserService(_applicationUserRepository);
        }
Esempio n. 2
0
        public ProjectsServiceTest()
        {
            this._projectsRepository            = new MockProjectRepository();
            this._applicationUserRepository     = new MockApplicationUserRepository();
            this._interestedInProjectRepository = new MockInterestedInProjectRepository();
            this._skillRepository     = new MockSkillRepository();
            this._userSkillRepository = new MockUserSkillRepository();


            this.Seed();

            this._projectsService = new ProjectsService(_projectsRepository, _interestedInProjectRepository, _applicationUserRepository, _userSkillRepository, _skillRepository);
        }