public function testExtendClosure() { $key = 'hogehoge'; $this->object->setValidationData(['email' => '*****@*****.**', 'password' => 'hogehoge', 'hogehoge' => '1111', 'member_name' => 'tarouyamada', 'photo_url' => 'http://hogehoge.com', 'icon_url' => 'http://mogemoge.com', 'is_enabled' => 1]); $result = $this->object->validate(); //var_dump($result,'#############'); $result = $this->object->call('method__hogehoge'); //var_dump($result,'#############'); }