| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testAccessors(): void { |
||
| 16 | $response = new Response(); |
||
| 17 | |||
| 18 | $this->assertSame( '', $response->getPaymentUrl() ); |
||
| 19 | $this->assertSame( '', $response->getTransactionId() ); |
||
| 20 | |||
| 21 | $response->setPaymentUrl( 'foo.com' ); |
||
| 22 | $response->setTransactionId( '12345' ); |
||
| 23 | |||
| 24 | $this->assertSame( 'foo.com', $response->getPaymentUrl() ); |
||
| 25 | $this->assertSame( '12345', $response->getTransactionId() ); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |