| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testGivenStringIdAndNs_gettersReturnIntegers() { |
||
| 31 | $revision = $this->getMockBuilder( 'Queryr\DumpReader\Revision' ) |
||
| 32 | ->disableOriginalConstructor()->getMock(); |
||
| 33 | |||
| 34 | $page = new Page( '42', 'Q42', '1', $revision ); |
||
| 35 | |||
| 36 | $this->assertSame( 42, $page->getId() ); |
||
| 37 | $this->assertSame( 1, $page->getNamespace() ); |
||
| 38 | } |
||
| 39 | |||
| 40 | } |