ref = new \ReflectionClass(static::class); $this->reader = new AnnotationReader(); parent::__construct($name, $data, $dataName); } function testJsonArray() { $ret = $this->reader->getPropertyAnnotations($this->ref->getProperty('jsonArray')); $this->assertEquals(['code'=>2,'result'=>[['name'=>1]]],$ret[0]->input); } }