OAuth2TokenTraitTest
extends TestCase
in package
Class OAuth2TokenTraitTest
Tags
Table of Contents
- $driver : XCNCIP2
- Tested service
- configureDriver() : void
- Basic configuration for tested service
- testGetNewOAuth2Token() : void
- Test for getNewOauth2Token
- mockResponse() : void
- Mock fixture as HTTP client response
Properties
$driver
Tested service
protected
XCNCIP2
$driver
Methods
configureDriver()
Basic configuration for tested service
public
configureDriver() : void
Return values
void —testGetNewOAuth2Token()
Test for getNewOauth2Token
public
testGetNewOAuth2Token() : void
Tags
Return values
void —mockResponse()
Mock fixture as HTTP client response
protected
mockResponse(string|array<string|int, mixed>|null $responseData) : void
Parameters
- $responseData : string|array<string|int, mixed>|null
-
String or array of string which with raw http response