diff --git a/test/Tmdb/Tests/Model/Tv/EpisodeTest.php b/test/Tmdb/Tests/Model/Tv/EpisodeTest.php index eee83fed..005aa743 100644 --- a/test/Tmdb/Tests/Model/Tv/EpisodeTest.php +++ b/test/Tmdb/Tests/Model/Tv/EpisodeTest.php @@ -33,4 +33,18 @@ public function shouldConstructTvEpisode() ) ); } + + /** + * @test + */ + public function shouldBeAbleToOverrideDefaultCollections() + { + $episode = new Episode(); + + $class = new \stdClass(); + + $episode->setCredits($class); + + $this->assertInstanceOf('stdClass', $episode->getCredits()); + } } \ No newline at end of file