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