- $this->assertEquals('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s'));
- $this->assertEquals('fr', $content->getLanguage());
- $this->assertEquals('Raphaël Balenieri, correspondant à Pékin', $authors[0]);
- $this->assertEquals('Frédéric Autran, correspondant à New York', $authors[1]);
+ $this->assertSame('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s'));
+ $this->assertSame('fr', $content->getLanguage());
+ $this->assertSame('Raphaël Balenieri, correspondant à Pékin', $authors[0]);
+ $this->assertSame('Frédéric Autran, correspondant à New York', $authors[1]);