- $this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://www.zataz.com is ok');
- $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.zataz.com is ok');
- $this->assertNotEmpty($content->getLanguage(), 'Language for http://www.zataz.com is ok');
- $this->assertEquals(0, count($content->getTags()));
+ $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
+ $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.20minutes.fr is ok');
+ $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.20minutes.fr is ok');
+ $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.20minutes.fr is ok');
+
+ $tags = $content->getTags();
+ $this->assertContains('foot', $tags, 'It includes the "foot" tag');
+ $this->assertCount(1, $tags);
+