spec\LdapTools\Operation\QueryOperationSpec::it_should_support_an_OperatorCollection_as_the_filter_value PHP Метод

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

    function it_should_support_an_OperatorCollection_as_the_filter_value()
    {
        $collection = new OperatorCollection();
        $collection->add(new Comparison('foo', '=', 'bar'));
        $this->setFilter($collection);
        $this->getFilter()->shouldBeEqualTo($collection);
        $this->getArguments()->shouldBeEqualTo([null, '(foo=bar)', [], 0]);
        $this->getLogArray()->shouldContain('(foo=bar)');
    }