PHP Class XtreamwayzTest\HTMLFormValidator\Validator\RecaptchaValidatorTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: xtreamwayz/html-form-validator

Protected Properties

Property Type Description
$privKey
$pubKey
$validator Xtreamwayz\HTMLFormValidator\Validator\RecaptchaValidator

Public Methods

Method Description
setUp ( ) : void Creates a new RecaptchaValidator object for each test method
testGetMessages ( )
testMissingKeyOptionThrowsInvalidArgumentException ( )
testOptionsIteratorToArray ( ) * protected function tearDown() { test::clean(); }

Method Details

setUp() public method

Creates a new RecaptchaValidator object for each test method
public setUp ( ) : void
return void

testGetMessages() public method

public testGetMessages ( )

testMissingKeyOptionThrowsInvalidArgumentException() public method

testOptionsIteratorToArray() public method

* protected function tearDown() { test::clean(); }

Property Details

$privKey protected_oe property

protected $privKey

$pubKey protected_oe property

protected $pubKey

$validator protected_oe property

protected RecaptchaValidator,Xtreamwayz\HTMLFormValidator\Validator $validator
return Xtreamwayz\HTMLFormValidator\Validator\RecaptchaValidator