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)); }