diff --git a/src/DeezerAPI.php b/src/DeezerAPI.php index e285155..3613822 100644 --- a/src/DeezerAPI.php +++ b/src/DeezerAPI.php @@ -21,6 +21,14 @@ public function __construct(DeezerAPIClient $client) $this->client = $client; } + /** + * @return DeezerAPIClient + */ + public function getDeezerAPIClient() + { + return $this->client; + } + /** * @return array|object */ diff --git a/tests/DeezerAPITest.php b/tests/DeezerAPITest.php index e26b179..09d7401 100644 --- a/tests/DeezerAPITest.php +++ b/tests/DeezerAPITest.php @@ -30,6 +30,14 @@ public function setUp() $this->deezerApi = new DeezerAPI($this->client); } + /** + * + */ + public function testDeezerAPIClient() + { + self::assertEquals($this->client, $this->deezerApi->getDeezerAPIClient()); + } + /** * */