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