/** * @expectedException \LogicException */ public function testIsPaymentAttentionRequiredThrowsExceptionWhenResultHasNoPayment() { $result = new Result(new PaymentInstruction(123.45, 'EUR', 'foo', new ExtendedData()), Result::STATUS_FAILED, 'foo'); $result->isAttentionRequired(); }