/**
  * @param string $ean
  * 
  * @return bool
  */
 public function delete($ean)
 {
     $endpoint = new Delete($this->getTransport());
     $endpoint->setId($ean);
     $result = $endpoint->performRequest();
     return $result['status'] == 204;
 }
Пример #2
0
 /**
  * @expectedException \Hitmeister\Component\Api\Exceptions\RuntimeException
  * @expectedExceptionMessage Required params id is not set
  */
 public function testExceptionOnEmptyId()
 {
     $delete = new Delete($this->transport);
     $delete->getURI();
 }