/** * Tests Services_Paymill_Refunds->update() */ public function testUpdate() { try { $this->_refunds->update(); } catch (Exception $e) { $this->assertInstanceOf('Services_Paymill_Exception', $e); $this->assertEquals(404, $e->getCode()); } }