onOffice WP Plugin

TestClassSDKWrapper extends WP_UnitTestCase
in package

Test for class SDKWrapper

Table of Contents

$_expectedResult  : string
$_pMockSDK  : onOfficeSDK
$_pMockWPOptions  : WPOptionWrapperTest
$_pSDKWrapper  : SDKWrapper
prepare()  : mixed
testAddRequestByApiAction()  : APIClientActionGeneric
testConstruct()  : mixed
testGetCache()  : mixed
testSendRequests()  : SDKWrapper
testWithCurlOptions()  : mixed

Properties

$_expectedResult

private string $_expectedResult = '{ "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:read", "resourceid": "", "resourcetype": "impressum", "cacheable": true, "identifier": "", "data": { "meta": { "cntabsolute": null }, "records": [ { "id": "impressum", "type": null, "elements": { "country": "DEU" } } ] }, "status": { "errorcode": 0, "message": "OK" } }'

Methods

Search results