Beispiel #1
0
        public void Ldap_Attribute_Set_Attribute_Should_Be_Removed()
        {
            LdapAttributeSet attributeSet = new LdapAttributeSet();
            var attr = new LdapAttribute("objectclass", "inetOrgPerson");

            attributeSet.Add(attr);
            attributeSet.Remove(attr);
            Assert.False(attributeSet.Contains(attr));
        }