public function testOtherTitles() { $anime = new Anime(); $otherTitles = array(); $otherTitles['english'][] = '5 Centimeters per Second'; $otherTitles['synonyms'][] = 'Five Centimeters Per Second'; $otherTitles['synonyms'][] = 'Byousoku 5 Centimeter - a chain of short stories about their distance'; $otherTitles['synonyms'][] = '5 Centimetres Per Second'; $otherTitles['synonyms'][] = '5 cm per second'; $otherTitles['japanese'][] = '秒速5センチメートル'; $anime->setOtherTitles($otherTitles); $this->assertEquals($otherTitles, $anime->getOtherTitles()); }