public function usingASpecificRepositoryForSubTypesWorks()
{
$this->superEntityRepository = $this->objectManager->get(Fixtures\SuperEntityRepository::class);
$this->subSubEntityRepository = $this->objectManager->get(Fixtures\SubSubEntityRepository::class);
$subSubEntity = new Fixtures\SubSubEntity();
$subSubEntity->setContent('this is the sub sub entity');
$this->superEntityRepository->add($subSubEntity);
$this->persistenceManager->persistAll();
$subSubEntity = $this->superEntityRepository->findAll()->getFirst();
$this->assertEquals('this is the sub sub entity', $subSubEntity->getContent());
$subSubEntity = $this->subSubEntityRepository->findAll()->getFirst();
$this->assertEquals('this is the sub sub entity - touched by SubSubEntityRepository', $subSubEntity->getContent());
}