diff --git a/test/Tmdb/Tests/Repository/PeopleRepositoryTest.php b/test/Tmdb/Tests/Repository/PeopleRepositoryTest.php index 5ecce7a8..437d5a2c 100644 --- a/test/Tmdb/Tests/Repository/PeopleRepositoryTest.php +++ b/test/Tmdb/Tests/Repository/PeopleRepositoryTest.php @@ -26,6 +26,36 @@ public function shouldLoadPerson() $repository->load(self::PERSON_ID); } + /** + * @test + */ + public function souldGetMovieCredits() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getMovieCredits(self::PERSON_ID); + } + + /** + * @test + */ + public function souldGetTvCredits() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getTvCredits(self::PERSON_ID); + } + + /** + * @test + */ + public function souldGetCombinedCredits() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getCombinedCredits(self::PERSON_ID); + } + protected function getApiClass() { return 'Tmdb\Api\People';