Beispiel #1
0
 public function testDeleteEncoding()
 {
     $encodingId = md5(uniqid());
     $encoding = new Encoding();
     $encoding->setId($encodingId);
     $this->validateRequest('delete', '/encodings/' . $encodingId . '.json');
     $this->cloud->deleteEncoding($encoding);
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function deleteEncoding(Encoding $encoding)
 {
     return $this->httpClient->delete('/encodings/' . $encoding->getId() . '.json');
 }