public function testConvertToLDAPValue() { $this->assertEquals('string', Ldap\Attribute::convertToLDAPValue('string')); $this->assertEquals('1', Ldap\Attribute::convertToLDAPValue(1)); $this->assertEquals('TRUE', Ldap\Attribute::convertToLDAPValue(true)); }