| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function testGetSetSession() |
||
| 30 | { |
||
| 31 | $order = $this->object->create(); |
||
| 32 | $order->setComment( 'test comment' ); |
||
| 33 | |||
| 34 | $this->object->setSession( $order, 'test' ); |
||
| 35 | $session = $this->object->getSession( 'test' ); |
||
| 36 | |||
| 37 | $this->assertInstanceOf( \Aimeos\MShop\Order\Item\Iface::class, $session ); |
||
| 38 | $this->assertEquals( 'test comment', $order->getComment() ); |
||
| 39 | $this->assertEquals( $order, $session ); |
||
| 40 | } |
||
| 42 |