Skip to content

Commit

Permalink
TvEpisode coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 8, 2014
1 parent 9c630c9 commit adfc8dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/Tmdb/Tests/Model/Tv/EpisodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit adfc8dd

Please sign in to comment.