/** * Test xxxNestedSetPeer::isLeaf() as false */ public function testPeerIsLeafFalse() { $c = new Criteria(); $c->add(PagePeer::TITLE, 'contact', Criteria::EQUAL); $contact = PagePeer::doSelectOne($c); $this->assertFalse(PagePeer::isLeaf($contact), 'Node must not be a leaf'); }