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); }