public function testRetrieveRoot()
 {
     $this->assertTrue(method_exists('NestedSetTable10Query', 'retrieveRoot'), 'nested_set adds a retrieveRoot() method');
     \Map\NestedSetTable10TableMap::doDeleteAll();
     $t1 = new \NestedSetTable10();
     $t1->setLeftValue(1);
     $t1->setRightValue(2);
     $t1->setScopeValue(2);
     $t1->save();
     $this->assertNull(\NestedSetTable10Query::retrieveRoot(1), 'retrieveRoot() returns null as long as no root node is defined in the required scope');
     $t2 = new \NestedSetTable10();
     $t2->setLeftValue(1);
     $t2->setRightValue(2);
     $t2->setScopeValue(1);
     $t2->save();
     $this->assertEquals(\NestedSetTable10Query::retrieveRoot(1), $t2, 'retrieveRoot() retrieves the root node in the required scope');
 }