Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public function testCharacterAnime() { $relation = array(); $relation['anime_id'] = rand(); $relation['title'] = 'This is a title'; $relation['url'] = 'http://myanimelist.net/anime/' . $relation['anime_id']; $anime = new Anime(); $anime->addRelation($relation, 'character'); $characterAnime = $anime->getCharacterAnime(); $this->assertEquals($relation, $characterAnime[0]); }