public function setUp() { $this->_escapeHtml = $this->getMock('Zend\\View\\Helper\\EscapeHtml'); $this->_htmlTag = $this->getMockBuilder('Library\\View\\Helper\\HtmlTag')->disableOriginalConstructor()->getMock(); $this->_consoleUrl = $this->getMockBuilder('Console\\View\\Helper\\ConsoleUrl')->disableOriginalConstructor()->getMock(); $this->_dateFormat = $this->getMock('Zend\\I18n\\View\\Helper\\DateFormat'); parent::setUp(); }
public function setUp() { $this->_escapeHtml = $this->createMock('Zend\\View\\Helper\\EscapeHtml'); $this->_htmlElement = $this->createMock('Library\\View\\Helper\\HtmlElement'); $this->_consoleUrl = $this->createMock('Console\\View\\Helper\\ConsoleUrl'); $this->_dateFormat = $this->createMock('Zend\\I18n\\View\\Helper\\DateFormat'); parent::setUp(); }