/**
* testCaptcha
*
* @since 2.2.0
*
* @param string $raw
* @param string $hash
* @param integer $expect
*
* @dataProvider providerValidatorCaptcha
*/
public function testCaptcha($raw = null, $hash = null, $expect = null)
{
/* setup */
$validator = new Validator\Captcha();
/* result */
$result = $validator->validate($raw, $hash);
/* compare */
$this->assertEquals($expect, $result);
}