public function testRecursiveChildSearchWithChildQuery() { $result = (new JSONPath($this->exampleData(rand(0, 1))))->find("\$..books[(@.length-1)].title"); $this->assertEquals(["The Lord of the Rings"], $result->data()); }