PHP 클래스 eZ\Publish\Core\REST\Client\Tests\HttpClient\StreamTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$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