public function serializingAQueryResultWillResetCachedResult()
{
$this->removeExampleEntities();
$this->insertExampleEntity();
$allResults = $this->testEntityRepository->findAll();
$unserializedResults = unserialize(serialize($allResults));
$this->assertAttributeInternalType('null', 'rows', $unserializedResults, 'Query Result did not flush the result collection after serialization.');
}