spec\LdapTools\Hydrator\OperationHydratorSpec::it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE PHP Метод

it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE() публичный Метод

public it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE ( QueryOperation $operation, $connection )
$operation LdapTools\Operation\QueryOperation
    function it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE(QueryOperation $operation, $connection)
    {
        $operation->getBaseDn()->willReturn('');
        $operation->getAttributes()->willReturn(['foo']);
        $operation->setAttributes(['foo'])->shouldBeCalled();
        $operation->getFilter()->willReturn('(objectClass=*)');
        $connection->getRootDse()->shouldNotBeCalled();
        $operation->setBaseDn(Argument::any())->shouldNotBeCalled();
        $this->hydrateToLdap($operation);
    }