PHP Class XtreamwayzTest\HTMLFormValidator\Validator\RecaptchaValidatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file 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 property

protected $privKey

$pubKey protected property

protected $pubKey

$validator protected property

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