Ejemplo n.º 1
0
 public function testFromLdapBoolean()
 {
     $this->assertTrue(Zend_Ldap_Converter::fromLdapBoolean('TRUE'));
     $this->assertFalse(Zend_Ldap_Converter::fromLdapBoolean('FALSE'));
     $this->setExpectedException('InvalidArgumentException');
     Zend_Ldap_Converter::fromLdapBoolean('test');
 }