/** * Tests Services_Paymill_Transaction->delete() */ public function testDelete() { try { $this->_transaction->delete(); } catch (Exception $e) { $this->assertInstanceOf('Services_Paymill_Exception', $e); $this->assertEquals(404, $e->getCode()); } }