public function testShiftLevel()
 {
     /* Tree used for tests
         t1
         |  \
         t2 t3
            |  \
            t4 t5
               |  \
               t6 t7
        */
     $this->initTree();
     \NestedSetTable9Query::shiftLevel($delta = 1, $first = 7, $last = 12);
     \Map\NestedSetTable9TableMap::clearInstancePool();
     $expected = array('t1' => array(1, 14, 0), 't2' => array(2, 3, 1), 't3' => array(4, 13, 1), 't4' => array(5, 6, 2), 't5' => array(7, 12, 3), 't6' => array(8, 9, 4), 't7' => array(10, 11, 4));
     $this->assertEquals($this->dumpTree(), $expected, 'shiftLevel shifts all nodes with a left value between the first and last');
     $this->initTree();
     \NestedSetTable9Query::shiftLevel($delta = -1, $first = 7, $last = 12);
     \Map\NestedSetTable9TableMap::clearInstancePool();
     $expected = array('t1' => array(1, 14, 0), 't2' => array(2, 3, 1), 't3' => array(4, 13, 1), 't4' => array(5, 6, 2), 't5' => array(7, 12, 1), 't6' => array(8, 9, 2), 't7' => array(10, 11, 2));
     $this->assertEquals($this->dumpTree(), $expected, 'shiftLevel shifts all nodes wit ha negative amount');
 }