diff --git a/test/Tmdb/Tests/Repository/NetworkRepositoryTest.php b/test/Tmdb/Tests/Repository/NetworkRepositoryTest.php new file mode 100644 index 00000000..7e8779a7 --- /dev/null +++ b/test/Tmdb/Tests/Repository/NetworkRepositoryTest.php @@ -0,0 +1,48 @@ + + * @copyright (c) 2013, Michael Roterman + * @version 0.0.1 + */ +namespace Tmdb\Tests\Repository; + +class NetworkRepositoryTest extends TestCase +{ + const NETWORK_ID = 49; + + /** + * @test + */ + public function shouldLoadNetwork() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->load(self::NETWORK_ID); + } + + /** + * @test + */ + public function shouldGetNetworks() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->load(self::NETWORK_ID); + } + + protected function getApiClass() + { + return 'Tmdb\Api\Network'; + } + + protected function getRepositoryClass() + { + return 'Tmdb\Repository\NetworkRepository'; + } +} \ No newline at end of file