コード例 #1
0
        public void WhenTheExternalGroupNameOfTheGroupIsCleared(string groupName)
        {
            Guid   groupId = nameIdentifierPairs[groupName];
            IGroup group   = IdentityManagementService.GetGroup(groupId);

            Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, null));
        }
コード例 #2
0
        public void WhenTheExternalGroupNameOfTheGroupIsChangedTo(string groupName, string externalGroup)
        {
            Guid   groupId = MockDatabase.GetGroup(groupName).Id;
            IGroup group   = IdentityManagementService.GetGroup(groupId);

            Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, externalGroup));
        }
コード例 #3
0
        public void ThenTheGroupIsDisabled(string name)
        {
            IGroup group = IdentityManagementService.GetGroup(nameIdentifierPairs[name]);

            Assert.IsTrue(group.IsDisabled);
        }