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