function it_should_convert_values_when_hydrating_to_ldap()
{
$schema = new LdapObjectSchema('ad', 'user');
$schema->setAttributeMap(['foo' => 'bar']);
$schema->setConverterMap(['foo' => 'bool']);
$this->setLdapObjectSchema($schema);
$attributes = $this->objectToLdap;
$attributes['foo'] = true;
$this->hydrateToLdap($attributes)->shouldContain('TRUE');
}