/** * @covers Mage_Captcha_Helper_Data::getConfigNode */ public function testGetConfigNode() { $store = $this->_getStoreStub(); $store->expects($this->once())->method('isAdmin')->will($this->returnValue(false)); $store->expects($this->once())->method('getConfig')->with('customer/captcha/enable', null)->will($this->returnValue('1')); $this->_object->setStore($store); $this->_object->getConfigNode('enable'); }