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

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

    function it_should_chain_the_setters()
    {
        $this->setBaseDn('foo')->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
        $this->setFilter('foo')->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
        $this->setPageSize('9001')->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
        $this->setScope(QueryOperation::SCOPE['SUBTREE'])->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
        $this->setAttributes(['foo'])->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
        $this->setUsePaging(true)->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\QueryOperation');
    }