/** * Method to test moveByReference(). * * @return void * * @covers Windwalker\Record\NestedRecord::moveByReference */ public function testMoveByReference() { $this->instance->load(5); $this->instance->moveByReference(1, NestedRecord::POSITION_LAST_CHILD); $this->assertEquals(array(11, 12), array($this->instance->lft, $this->instance->rgt)); }