Пример #1
0
 public function testModelReturnType()
 {
     $model = new SyncModel();
     $this->assertTrue(is_string($model->tableName()));
     $this->assertTrue(is_array($model->scenarios()));
     $this->assertTrue(is_array($model->rules()));
     $this->assertTrue(is_array($model->attributeLabels()));
 }