Пример #1
0
 public function testLoadDefault()
 {
     $this->_model->loadDefault('customer_create_account_email_template');
     $this->assertNotEmpty($this->_model->getTemplateText());
     $this->assertNotEmpty($this->_model->getTemplateSubject());
     $this->assertNotEmpty($this->_model->getOrigTemplateVariables());
     $this->assertInternalType('array', \Zend_Json::decode($this->_model->getOrigTemplateVariables()));
     $this->assertNotEmpty($this->_model->getTemplateStyles());
 }