Exemple #1
0
        public void Ldap_Attribute_Set_Should_Not_Be_Empty()
        {
            LdapAttributeSet attributeSet = new LdapAttributeSet();

            attributeSet.Add(new LdapAttribute("objectclass", "inetOrgPerson"));
            Assert.False(attributeSet.IsEmpty());
        }
Exemple #2
0
        public void Ldap_Attribute_Set_Should_Be_Cleared()
        {
            LdapAttributeSet attributeSet = new LdapAttributeSet();
            var attr = new LdapAttribute("objectclass", "inetOrgPerson");

            attributeSet.Add(attr);
            attributeSet.Clear();
            Assert.True(attributeSet.IsEmpty());
        }
Exemple #3
0
        public void Ldap_Attribute_Set_Should_Be_Empty()
        {
            LdapAttributeSet attributeSet = new LdapAttributeSet();

            Assert.True(attributeSet.IsEmpty());
        }