Method | Description | |
---|---|---|
providerErrorTypes ( ) : array | Provider: Error types | |
setUp ( ) | Set up | |
testClientProperty ( ) | Test: Client property | |
testCustomAdapter ( ) | Test: Custom adapter | |
testGetDefaultAdapter ( ) | Test: Get default adapter | |
testSendRequestArray ( ) | Test: Send request with array response | |
testSendRequestBadContentType ( ) | Test: Send request with bad content type | |
testSendRequestBadStatusCode ( ) | Test: Send request with bad status code | |
testSendRequestErrorResponse ( ) | Test: Send request with error response | |
testSendRequestSuccess ( ) | Test: Send request with success resposne | |
testThrowExceptionByType ( $type, $exceptionName ) | Test: Throw exception by type |
Method | Description | |
---|---|---|
stubMockAdapterResponseMethods ( string $response, string $httpStatusCode, string $contentType ) | Stub adapter response methods |
public providerErrorTypes ( ) : array | ||
return | array |
public testSendRequestArray ( ) |
public testSendRequestBadContentType ( ) |
public testSendRequestBadStatusCode ( ) |
public testSendRequestErrorResponse ( ) |
public testSendRequestSuccess ( ) |
public testThrowExceptionByType ( $type, $exceptionName ) |