setUsePaging() public method

Set whether paging should be used when querying LDAP for this type.
public setUsePaging ( boolean $usePaging )
$usePaging boolean
 function it_should_set_whether_paging_is_used_based_off_the_schema($connection)
 {
     $operation = new QueryOperation('(foo=bar');
     $this->setLdapObjectSchema($this->schema);
     $this->setLdapConnection($connection);
     $this->hydrateToLdap($operation)->getUsePaging()->shouldBeEqualTo(null);
     $this->schema->setUsePaging(true);
     $this->hydrateToLdap($operation)->getUsePaging()->shouldBeEqualTo(true);
 }