Skip to content

Commit

Permalink
Add non implemented methods with the expection to fail for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Jan 22, 2014
1 parent 22cf331 commit f0fc9d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/Tmdb/Tests/Api/MoviesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,26 @@ public function shouldGetTopRated()
$api->getTopRated();
}

/**
* @test
* @expectedException Tmdb\Exception\NotImplementedException
*/
public function shouldGetAccountStates()
{
$api = $this->getApiMock();
$api->getAccountStates(self::MOVIE_ID);
}

/**
* @test
* @expectedException Tmdb\Exception\NotImplementedException
*/
public function shouldRateMovie()
{
$api = $this->getApiMock();
$api->rateMovie(self::MOVIE_ID);
}

protected function getApiClass() {
return 'Tmdb\Api\Movies';
}
Expand Down

0 comments on commit f0fc9d1

Please sign in to comment.