\ServiceCommonLogicUnitTests

Base class for service logic unit tests.

Summary

Methods
Properties
Constants
test_construct_1()
test_construct_2()
test_construct_3()
test_connect()
test_connect_with_empty_params()
test_set_token()
$ClassName
No constants found
check_logic_parts()
get_security_provider_mock()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$ClassName

$ClassName : string

Testing class name.

Type

string

Methods

test_construct_1()

test_construct_1() 

Testing connect method.

test_construct_2()

test_construct_2() 

Testing connect method.

test_construct_3()

test_construct_3() 

Testing connect method.

test_connect()

test_connect() 

Testing connection routine.

test_connect_with_empty_params()

test_connect_with_empty_params() 

Testing connection routine.

test_set_token()

test_set_token() 

Method testing set_token method.

check_logic_parts()

check_logic_parts(object  $Logic, string  $Msg) 

Method tests creation of the logis's parts.

Parameters

object $Logic
  • ServiceLogic object.
string $Msg
  • Error message.

get_security_provider_mock()

get_security_provider_mock() 

Method returns mock of the security provider.