public function testQueryMatchLessThan() { $result = (new JSONPath($this->exampleData(rand(0, 1))))->find("\$.store.books[?(@.price < 10)].title"); $this->assertEquals(['Sayings of the Century', 'Moby Dick'], $result->data()); }