public function testRelationshipEntityAndFindAllFetch() { $actors = $this->em->getRepository(Person::class)->findAll(); foreach ($actors as $actor) { $this->assertInstanceOf(Person::class, $actor); } }