+
+ $content = $client->getContainer()
+ ->get('doctrine.orm.entity_manager')
+ ->getRepository('WallabagCoreBundle:Entry')
+ ->findByUrlAndUserId(
+ 'https://www.20minutes.fr/high-tech/2077615-20170531-quoi-exactement-tweet-covfefe-donald-trump-persiste-signe',
+ $this->getLoggedInUserId()
+ );
+
+ $this->assertContains('foot', $content->getTags());
+ $this->assertContains('test_tag', $content->getTags());
+
+ $this->assertSame(2, \count($content->getTags()));