- $this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.framablog.org is ok');
- $this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.framablog.org is ok');
- $this->assertEmpty($content->getLanguage(), 'Language for http://www.framablog.org is ok');
- $this->assertEquals(1, count($content->getTags()));
+ $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
+ $this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.framablog.org is empty');
+ $this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.framablog.org is empty');
+ $this->assertEmpty($content->getLanguage(), 'Language for http://www.framablog.org is empty');
+
+ $tags = $content->getTags();
+ $this->assertContains('foot', $tags, 'It includes the "foot" tag');
+ $this->assertContains('framabag', $tags, 'It includes the "framabag" tag');
+ $this->assertSame(2, count($tags));
+