$this->assertSame('my quote', $content['quote']);
/** @var Annotation $annotation */
- $annotation = $this->client->getContainer()
- ->get('doctrine.orm.entity_manager')
+ $annotation = $em
->getRepository('WallabagAnnotationBundle:Annotation')
->findLastAnnotationByPageId($entry->getId(), 1);