PHP Класс eZ\Publish\Core\REST\Client\Tests\HttpClient\StreamTest

Наследование: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$client eZ\Publish\Core\REST\Client\HttpClient\Stream

Открытые методы

Метод Описание
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.

Описание методов

setUp() публичный Метод

Sets up the testing environment.
public setUp ( )

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.
public testResponseStatus ( )

testResponseXPoweredByHeader() публичный Метод

Test presence of X-Powered-By header.

Описание свойств

$client защищенное свойство

protected Stream,eZ\Publish\Core\REST\Client\HttpClient $client
Результат eZ\Publish\Core\REST\Client\HttpClient\Stream