Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public function testOther() { $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, 'other'); $other = $anime->getOther(); $this->assertEquals($relation, $other[0]); }