PHP Class Contao\CoreBundle\Test\Contao\ValidatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
emailProvider ( ) : array Provides the data for the testEmail() method.
testEmail ( string $email, boolean $expected ) Tests the isEmail() method.
testExtractEmail ( ) Tests the StringUtil::extactEmail() method.

Method Details

emailProvider() public method

Provides the data for the testEmail() method.
public emailProvider ( ) : array
return array

testEmail() public method

Tests the isEmail() method.
public testEmail ( string $email, boolean $expected )
$email string
$expected boolean

testExtractEmail() public method

Tests the StringUtil::extactEmail() method.
public testExtractEmail ( )