public function setup() { $authorization = new Authorization(); $authorization->setCreate_time(self::$create_time); $authorization->setId(self::$id); $authorization->setState(self::$state); $authorization->setParent_payment(self::$parent_payment); $this->authorizations['partial'] = $authorization; $this->authorizations['full'] = self::createAuthorization(); }