/** * @covers Exads\Client * @test * @dataProvider getApiClassesProvider */ public function shouldGetApiInstance($apiName, $class) { $client = new Client('http://localhost'); $this->assertInstanceOf($class, $client->api($apiName)); }