Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function testAccessors(): void { |
||
22 | $payment = new SofortPayment(); |
||
23 | $payment->setId( 5 ); |
||
24 | $payment->setConfirmedAt( new DateTime( '2008-11-03T15:30:00Z' ) ); |
||
25 | |||
26 | $this->assertSame( 5, $payment->getId() ); |
||
27 | $this->assertEquals( new DateTime( '2008-11-03T15:30:00Z' ), $payment->getConfirmedAt() ); |
||
28 | } |
||
29 | } |
||
30 |