/** * @param unknown_type $attributes * @dataProvider dataFor__call */ public function test__call($attributes) { $this->WindModule->setDelayAttributes($attributes); $this->assertTrue($this->WindModule->_getShi() instanceof ForWindFactoryTest); $this->WindModule->_setShi(new stdClass()); //call_user_func_array(array($this->WindModule,"_setShi"), array(new stdClass())); $this->assertTrue($this->WindModule->_getShi() instanceof stdClass); }