@dbu Yeah, we're relying on mocks, this is why tests are this fragile :S

https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Query/Query.php#L146

We should rely on this contract, but it returns different kind of types. What should we use? It sometimes returns an ArrayCollection, and other times?

https://github.com/whiteoctober/Pagerfanta/blob/master/tests/Pagerfanta/Tests/Adapter/DoctrineODMPhpcrAdapterTest.php#L63

Our tests are using ArrayCollection, but it doesn't have `getRows`, this is why I removed it. How should it be? :S