PHP Class Contao\CoreBundle\Test\Contao\WidgetTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
postProvider ( ) : array Provides the data for the testGetPost() method.
setUpBeforeClass ( ) Includes the helper functions if they have not yet been included.
testGetPost ( string $key, string $input, mixed $value, string $expected ) Tests the getPost() method.

Method Details

postProvider() public method

Provides the data for the testGetPost() method.
public postProvider ( ) : array
return array

setUpBeforeClass() public static method

Includes the helper functions if they have not yet been included.
public static setUpBeforeClass ( )

testGetPost() public method

Tests the getPost() method.
public testGetPost ( string $key, string $input, mixed $value, string $expected )
$key string
$input string
$value mixed
$expected string