public function testSimpleArrayAccess() { $result = (new JSONPath(array('title' => 'test title')))->find('title'); $this->assertEquals(array('test title'), $result->data()); }