public function offsetGet($offset) { return $this->trie->get($offset); }
/** * @dataProvider getPaths */ public function testPath($index, $expected) { $trie = new Trie(); $actual = $trie->getPath($index); $this->assertEquals($expected, $actual); }