public void RemoveSet() { PermissionSetCollection psc = new PermissionSetCollection(); PermissionSet unr = new PermissionSet(PermissionState.Unrestricted); psc.Add(unr); psc.RemoveSet(0); Assert.AreEqual(0, psc.Count, "Count"); }
public void RemoveSet_Zero_Empty() { PermissionSetCollection psc = new PermissionSetCollection(); psc.RemoveSet(0); }
public void RemoveSet_MaxInt() { PermissionSetCollection psc = new PermissionSetCollection(); psc.RemoveSet(Int32.MaxValue); }
public void RemoveSet_Negative() { PermissionSetCollection psc = new PermissionSetCollection(); psc.RemoveSet(-1); }