| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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); |
||
| 16 | $this->assertEquals($child3->ID, $child2->NextSibling()->ID); |
||
| 17 | } |
||
| 29 |