Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function test_values( $notification ) { |
||
38 | $expected = new Notification(); |
||
39 | $expected->set_date( new DateTime( '20131022120742' ) ); |
||
40 | $expected->set_transaction_id( '0020000048638175' ); |
||
41 | $expected->set_purchase_id( '1382436458' ); |
||
42 | $expected->set_status( Statuses::SUCCESS ); |
||
43 | |||
44 | $this->assertEquals( $expected, $notification ); |
||
45 | } |
||
47 |