/** * Method to test getPath(). * * @return void * * @covers Windwalker\Record\NestedRecord::getPath */ public function testGetPath() { $path = $this->instance->getPath(5); $ids = ArrayHelper::getColumn($path, 'id'); $this->assertEquals(array(1, 2, 5), $ids); }