/** * {@inheritdoc} */ protected function delete($path, $data = null) { return $this->client->delete($path, $data); }
/** * Perform the client delete() method. * * @param string $path * * @return array */ protected function delete($path) { return $this->client->delete($path); }
/** * @covers Exads\Client * @test * @dataProvider getApiClassesProvider */ public function shouldGetApiInstance($apiName, $class) { $client = new Client('http://localhost'); $this->assertInstanceOf($class, $client->api($apiName)); }