/** * testing method return array type */ public function testTypeFunction() { $model = new RecoverPwdForm(); $this->assertInternalType('array', $model->rules()); $this->assertInternalType('array', $model->attributeLabels()); $this->assertInternalType('array', $model->validateFields()); }