/** * @covers Mage_Captcha_Model_Zend::getWord */ public function testGetWord() { $this->assertEquals($this->_object->getWord(), 'AbCdEf5'); $this->_object->getSession()->setData(array('user_create_word' => array('data' => 'AbCdEf5', 'expires' => time() - 60))); $this->assertNull($this->_object->getWord()); }