class WebTestCase extends PHPUnit_Framework_TestCase

WebTestCase is the base class for functional tests.

Properties

protected HttpKernelInterface $app HttpKernelInterface instance.

Methods

setUp()

PHPUnit setUp for setting up the application.

HttpKernelInterface
createApplication()

Creates the application.

Client
createClient(array $server = array())

Creates a Client.

Details

at line 37
protected setUp()

PHPUnit setUp for setting up the application.

Note: Child classes that define a setUp method must call parent::setUp().

at line 47
abstract HttpKernelInterface createApplication()

Creates the application.

Return Value

HttpKernelInterface

at line 56
Client createClient(array $server = array())

Creates a Client.

Parameters

array $server Server parameters

Return Value

Client A Client instance