private void InitialiseTestObjects()
        {
            _roles = new ADRoleProvider();
            _teams = new ADTeamRepository();
            _users = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
            _repos = new ADRepositoryRepository();

            _service = new RepositoryPermissionService(_repos, _roles, _teams);
        }
        private void InitialiseTestObjects()
        {
            _roles = new ADRoleProvider();
            _teams = new ADTeamRepository();
            _users = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
            _repos = new ADRepositoryRepository();

            _service = new RepositoryPermissionService
            {
                Repository = _repos, RoleProvider = _roles, TeamRepository = _teams
            };
        }
 public void Initialize()
 {
     _testSupport = new ADTestSupport();
     _service = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
 }
示例#4
0
 void InitialiseTestObjects()
 {
     _repo = new ADTeamRepository();
     _membershipService = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
 }
示例#5
0
 public void Initialize()
 {
     _testSupport = new ADTestSupport();
     _service     = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
 }
 void InitialiseTestObjects()
 {
     _repo = new ADTeamRepository();
     _membershipService = new ADMembershipServiceTestFacade(new ADMembershipService(), _testSupport);
 }