PHP Класс InterNations\Component\HttpMock\Tests\RequestCollectionFacadeTest

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

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

Метод Описание
provideMethodAndUrls ( )
setUp ( )
testRequestLatestResponseWithHttpAuth ( $method, $path, array $args = [], $httpMethod = 'get' )
testRequestResponse_DeserializationError ( $method, $path, array $args = [], $httpMethod = 'get' )
testRequestResponse_EmptyContentType ( $method, $path, array $args = [], $httpMethod = 'get' )
testRequestResponse_InvalidContentType ( $method, $path, array $args = [], $httpMethod = 'get' )
testRequestResponse_InvalidStatusCode ( $method, $path, array $args = [], $httpMethod = 'get' )
testRequestingLatestRequest ( $method, $path, array $args = [], $httpMethod = 'get' )

Приватные методы

Метод Описание
createComplexResponse ( )
createResponseThatCannotBeDeserialized ( )
createResponseWithEmptyContentType ( )
createResponseWithInvalidContentType ( )
createResponseWithInvalidStatusCode ( )
createSimpleResponse ( )
mockClient ( $path, Guzzle\Http\Message\Response $response, $method )

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

provideMethodAndUrls() публичный статический метод

public static provideMethodAndUrls ( )

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

public setUp ( )

testRequestLatestResponseWithHttpAuth() публичный метод

public testRequestLatestResponseWithHttpAuth ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array

testRequestResponse_DeserializationError() публичный метод

public testRequestResponse_DeserializationError ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array

testRequestResponse_EmptyContentType() публичный метод

public testRequestResponse_EmptyContentType ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array

testRequestResponse_InvalidContentType() публичный метод

public testRequestResponse_InvalidContentType ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array

testRequestResponse_InvalidStatusCode() публичный метод

public testRequestResponse_InvalidStatusCode ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array

testRequestingLatestRequest() публичный метод

public testRequestingLatestRequest ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array