public function testSaveRootInTreeWithExistingRootWithDifferentScope() { \Map\NestedSetTable10TableMap::doDeleteAll(); $t1 = new \NestedSetTable10(); $t1->setScopeValue(1); $t1->makeRoot(); $t1->save(); $t2 = new \NestedSetTable10(); $t2->setScopeValue(2); $t2->makeRoot(); $t2->save(); $this->assertTrue(!$t2->isNew()); }