public function test_Index_Wildcard() { $tokens = (new JSONPathLexer('.*'))->parseExpression(); $this->assertEquals(JSONPathToken::T_INDEX, $tokens[0]->type); $this->assertEquals("*", $tokens[0]->value); }