public function getSolution()
{
return $this->_solution;
}
/** * testGetSolution * * @since 2.2.0 */ public function testGetSolution() { /* setup */ $captcha = new Captcha($this->_language); /* result */ $raw = $captcha->getSolution('raw'); $hash = $captcha->getSolution('hash'); /* compare */ $this->assertEquals($hash, sha1($raw)); }