public void WhenTheExternalGroupNameOfTheGroupIsCleared(string groupName) { Guid groupId = nameIdentifierPairs[groupName]; IGroup group = IdentityManagementService.GetGroup(groupId); Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, null)); }
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)); }
public void ThenTheGroupIsDisabled(string name) { IGroup group = IdentityManagementService.GetGroup(nameIdentifierPairs[name]); Assert.IsTrue(group.IsDisabled); }