/**
* @test
*/
public function countCountsQueryResultDirectlyIfAlreadyInitialized()
{
$this->persistenceManager->expects($this->never())->method('getObjectCountByQuery');
$this->queryResult->toArray();
$this->assertEquals(2, $this->queryResult->count());
}