Ejemplo n.º 1
0
 /**
  * @test
  * @codeCoverageIgnore
  * @depends createRefund
  * @depends getOneRefund
  * @depends updateRefund
  * @expectedException \Paymill\Services\PaymillException
  * @expectedExceptionMessage Method not Found
  */
 public function deleteRefund($model)
 {
     $this->_model->setId($model->getId());
     $result = $this->_service->delete($this->_model);
     $this->assertInstanceOf('Paymill\\Models\\Response\\Error', $result, var_export($result, true));
     $this->assertEquals('Method not Found', $result->getErrorMessage());
 }