function it_should_convert_a_dn_back_to_a_dn($connection)
{
$dn = $this->entry[0]['distinguishedname'][0];
$connection->execute(Argument::any())->shouldNotBeCalled();
$this->setOptions(['foo' => ['attribute' => 'cn', 'filter' => ['objectClass' => 'bar']]]);
$this->setAttribute('foo');
$this->setLdapConnection($connection);
$this->toLdap($dn)->shouldBeEqualTo($dn);
}