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

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

    function it_should_throw_an_exception_if_the_filter_is_empty_when_getting_the_arguments()
    {
        $this->setFilter('');
        $this->shouldThrow('LdapTools\\Exception\\LdapQueryException')->duringGetArguments();
        $this->setFilter(new OperatorCollection());
        $this->shouldThrow('LdapTools\\Exception\\LdapQueryException')->duringGetArguments();
    }