ZEROSPAM\Framework\SDK\Test\Base\Config\TestClient
Class TestClient
Used to configure the real OAuthClient
Synopsis
class TestClient
{
- // members
- private MockHandler $mockHandler;
- private array $container = ;
- // methods
- public void __construct()
- public ClientInterface buildClient()
- public IOAuthClient getOAuthTestClient()
- protected IOAuthConfiguration getMockConfiguration()
- public array getContainer()
Members
private
- $container — array
- $mockHandler — GuzzleHttp\Handler\MockHandler
Methods
protected
- getMockConfiguration() — Mock configuration.
public
- __construct() — TestConf constructor.
- buildClient() — Build the client for this configuration.
- getContainer() — Containing the request and response done.
- getOAuthTestClient() — Get client for tests.
History
-
2018-07-16T14:26:38+00:00 (commit #290a97d)
Author: Antoine Aflalo (antoine.aflalo@zerospam.ca) / Commiter: Antoine Aflalo (antoine.aflalo@zerospam.ca)
feat(Response): Split Ratelimited from BaseResponse New type of response can now be easily build.