PHP Class eZ\Publish\Core\REST\Client\Tests\HttpClient\StreamTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$client eZ\Publish\Core\REST\Client\HttpClient\Stream

Méthodes publiques

Méthode Description
setUp ( ) Sets up the testing environment.
testConnectionException ( ) Tests that ConnectionException is thrown.
testResponseHeadersArray ( ) Tests presence of response headers.
testResponseNonEmptyBody ( ) Tests that the response body is not empty.
testResponseStatus ( ) Tests the response status.
testResponseXPoweredByHeader ( ) Test presence of X-Powered-By header.

Method Details

setUp() public méthode

Sets up the testing environment.
public setUp ( )

testConnectionException() public méthode

Tests that ConnectionException is thrown.

testResponseHeadersArray() public méthode

Tests presence of response headers.

testResponseNonEmptyBody() public méthode

Tests that the response body is not empty.

testResponseStatus() public méthode

Tests the response status.
public testResponseStatus ( )

testResponseXPoweredByHeader() public méthode

Test presence of X-Powered-By header.

Property Details

$client protected_oe property

protected Stream,eZ\Publish\Core\REST\Client\HttpClient $client
Résultat eZ\Publish\Core\REST\Client\HttpClient\Stream