| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 8 |
| Ratio | 100 % |
| 1 | <?php |
||
| 7 | |||
| 8 | protected static $fixture_file = 'tests/PrevNextSiblingExtensionTest.yml'; |
||
| 9 | |||
| 10 | public function testNextSibling() { |
||
| 11 | $child1 = $this->objFromFixture('Page', 'child01'); |
||
| 12 | $child2 = $this->objFromFixture('Page', 'child02'); |
||
| 13 | $child3 = $this->objFromFixture('Page', 'child03'); |
||
| 14 | $this->assertNull($child3->NextSibling()); |
||
| 15 | $this->assertEquals($child2->ID, $child1->NextSibling()->ID); |
||
| 29 |