Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public function testMangaAdaptations() { $relation = array(); $relation['manga_id'] = rand(); $relation['title'] = 'This is a title'; $relation['url'] = 'http://myanimelist.net/manga/' . $relation['manga_id']; $anime = new Anime(); $anime->addRelation($relation, 'adaptation'); $adaptations = $anime->getMangaAdaptations(); $this->assertEquals($relation, $adaptations[0]); }