public function test_Indexes_Simple() { $tokens = (new JSONPathLexer('[1,2,3]'))->parseExpression(); $this->assertEquals(JSONPathToken::T_INDEXES, $tokens[0]->type); $this->assertEquals([1, 2, 3], $tokens[0]->value); }