function it_should_hydrate_a_query_operation_to_ldap_without_a_schema_or_connection()
{
$this->setOperationType(AttributeConverterInterface::TYPE_SEARCH_TO);
$filter = new FilterBuilder();
$collection = new OperatorCollection();
$collection->add($filter->eq('foo', 'bar'));
$collection->add($filter->eq('bar', 'foo'));
$operation = new QueryOperation($collection, ['foo']);
$this->hydrateToLdap($operation)->getFilter()->shouldBeEqualTo('(&(foo=bar)(bar=foo))');
$this->hydrateToLdap($operation)->getBaseDn()->shouldBeNull();
}