Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testDataIsRetained() { |
||
16 | $id = 42; |
||
17 | $model = 'cats'; |
||
18 | $format = 'spam'; |
||
19 | $text = 'foo'; |
||
20 | $timeStamp = 'bar'; |
||
21 | |||
22 | $page = new Revision( $id, $model, $format, $text, $timeStamp ); |
||
23 | |||
24 | $this->assertSame( $id, $page->getId() ); |
||
25 | $this->assertSame( $model, $page->getModel() ); |
||
26 | $this->assertSame( $format, $page->getFormat() ); |
||
27 | $this->assertSame( $text, $page->getText() ); |
||
28 | $this->assertSame( $timeStamp, $page->getTimeStamp() ); |
||
29 | } |
||
30 | |||
36 | } |