コード例 #1
0
ファイル: DataTest.php プロジェクト: nemphys/magento2
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     $this->_object = new Mage_Captcha_Helper_Data();
     $this->_object->setConfig($this->_getConfigStub());
     $this->_object->setWebsite($this->_getWebsiteStub());
     $this->_object->setStore($this->_getStoreStub());
 }