The user will get a JSON representation of the ApiContext
What happens:
You will get the following error:
Return value of bunq\Model\Core\SessionServer::getUserCompany() must be an instance of bunq\Model\Generated\Endpoint\UserCompany, null returned
/Users/khellemun/GitHub/bunq/sdk_php/src/Model/Core/SessionServer.php:79
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/SessionContext.php:76
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/SessionContext.php:64
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/SessionContext.php:52
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/ApiContext.php:164
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/ApiContext.php:123
/Users/khellemun/GitHub/bunq/sdk_php/src/Context/ApiContext.php:110
/Users/khellemun/GitHub/bunq/sdk_php/tests/BunqSdkTestBase.php:64
/Users/khellemun/GitHub/bunq/sdk_php/tests/Context/ApiContextTest.php:22
Steps to reproduce:
ApiContext
with anUserPerson
API keytoJson()
method on this contextWhat should happen:
JSON
representation of theApiContext
What happens:
Extra info: