Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 protected function delete($path, $data = null)
 {
     return $this->client->delete($path, $data);
 }
Esempio n. 2
0
 /**
  * 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));
 }