Documentation

CrudServiceClientTests extends ServiceClientTests
in package

Common unit tests for CrudServiceClient and all derived client classes

Tags
author

Dodonov A.A.

group

baseTests

Table of Contents

$clientClassName  : mixed
Client class name
testFailedLoginAs()  : mixed
Testing loginAs method with failed call
testInValidConnect()  : mixed
Testing invalid API connection
testLoginAs()  : mixed
Testing loginAs method
testSetInValidToken()  : mixed
Testing setting invalid token
testSetValidToken()  : mixed
Testing setting valid token
testSetValidTokenAndLogin()  : mixed
Testing setting valid token and login
testSingleLoginAs()  : mixed
Testing situation that loginAs will not be called after the connect() call with the same login
testValidConnect()  : mixed
Testing API connection
constructClient()  : mixed
Method creates client object

Properties

Methods

testFailedLoginAs()

Testing loginAs method with failed call

public testFailedLoginAs() : mixed
Return values
mixed

testInValidConnect()

Testing invalid API connection

public testInValidConnect() : mixed
Return values
mixed

testSetInValidToken()

Testing setting invalid token

public testSetInValidToken() : mixed
Return values
mixed

testSetValidToken()

Testing setting valid token

public testSetValidToken() : mixed
Return values
mixed

testSetValidTokenAndLogin()

Testing setting valid token and login

public testSetValidTokenAndLogin() : mixed
Return values
mixed

testSingleLoginAs()

Testing situation that loginAs will not be called after the connect() call with the same login

public testSingleLoginAs() : mixed
Return values
mixed

testValidConnect()

Testing API connection

public testValidConnect() : mixed
Return values
mixed

constructClient()

Method creates client object

protected constructClient([string $password = 'root' ]) : mixed
Parameters
$password : string = 'root'
Return values
mixed

Search results

    Яндекс.Метрика