public function testShiftRLValues()
 {
     $this->assertTrue(method_exists('NestedSetTable10Query', 'shiftRLValues'), 'nested_set adds a shiftRLValues() method');
     $this->initTreeWithScope();
     \NestedSetTable10Query::shiftRLValues(1, 100, null, 1);
     \Map\NestedSetTable10TableMap::clearInstancePool();
     $expected = ['t1' => [1, 14, 0], 't2' => [2, 3, 1], 't3' => [4, 13, 1], 't4' => [5, 6, 2], 't5' => [7, 12, 2], 't6' => [8, 9, 3], 't7' => [10, 11, 3]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(1), 'shiftRLValues does not shift anything when the first parameter is higher than the highest right value');
     $expected = ['t8' => [1, 6, 0], 't9' => [2, 3, 1], 't10' => [4, 5, 1]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(2), 'shiftRLValues does not shift anything out of the scope');
     $this->initTreeWithScope();
     \NestedSetTable10Query::shiftRLValues(1, 1, null, 1);
     \Map\NestedSetTable10TableMap::clearInstancePool();
     $expected = ['t1' => [2, 15, 0], 't2' => [3, 4, 1], 't3' => [5, 14, 1], 't4' => [6, 7, 2], 't5' => [8, 13, 2], 't6' => [9, 10, 3], 't7' => [11, 12, 3]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(1), 'shiftRLValues can shift all nodes to the right');
     $expected = ['t8' => [1, 6, 0], 't9' => [2, 3, 1], 't10' => [4, 5, 1]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(2), 'shiftRLValues does not shift anything out of the scope');
     $this->initTreeWithScope();
     \NestedSetTable10Query::shiftRLValues(-1, 1, null, 1);
     \Map\NestedSetTable10TableMap::clearInstancePool();
     $expected = ['t1' => [0, 13, 0], 't2' => [1, 2, 1], 't3' => [3, 12, 1], 't4' => [4, 5, 2], 't5' => [6, 11, 2], 't6' => [7, 8, 3], 't7' => [9, 10, 3]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(1), 'shiftRLValues can shift all nodes to the left');
     $expected = ['t8' => [1, 6, 0], 't9' => [2, 3, 1], 't10' => [4, 5, 1]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(2), 'shiftRLValues does not shift anything out of the scope');
     $this->initTreeWithScope();
     \NestedSetTable10Query::shiftRLValues(1, 5, null, 1);
     \Map\NestedSetTable10TableMap::clearInstancePool();
     $expected = ['t1' => [1, 15, 0], 't2' => [2, 3, 1], 't3' => [4, 14, 1], 't4' => [6, 7, 2], 't5' => [8, 13, 2], 't6' => [9, 10, 3], 't7' => [11, 12, 3]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(1), 'shiftRLValues can shift some nodes to the right');
     $expected = ['t8' => [1, 6, 0], 't9' => [2, 3, 1], 't10' => [4, 5, 1]];
     $this->assertEquals($expected, $this->dumpTreeWithScope(2), 'shiftRLValues does not shift anything out of the scope');
 }