Documentation

CrudServiceClientUnitTest extends CrudServiceClientUnitTests
in package

Common unit tests for CrudServiceClient and all derived client classes

Table of Contents

testCreate()  : mixed
Testing 'create' method
testGetByIdsArray()  : mixed
Testing 'getByIdsArray' method
testGetByIdsArrayNull()  : mixed
Testing 'getByIdsArray' method
testGetCompiledFilter1()  : mixed
Testing 'getCompiledFilter' method
testGetCompiledFilter2()  : mixed
Testing 'getCompiledFilter' method
testGetCompiledFilter3()  : mixed
Testing 'getCompiledFilter' method
testGetFields()  : void
Testing getFields method
testGetList()  : mixed
Testing 'getList' method
testGetListOrder()  : mixed
Testing 'getList' method
testGetRequestUrlException()  : void
Testing method
testInstance()  : mixed
Testing instance method
testRecordsCountByField()  : mixed
Testing 'recordsCountByField' method
getCrudServiceClientMock()  : object
Getting mock object for Crud service client
getSetupMockWithGetMethod()  : object
Method make full setup of the mock object

Methods

testGetByIdsArrayNull()

Testing 'getByIdsArray' method

public testGetByIdsArrayNull() : mixed
Return values
mixed

testGetCompiledFilter1()

Testing 'getCompiledFilter' method

public testGetCompiledFilter1() : mixed
Return values
mixed

testGetCompiledFilter2()

Testing 'getCompiledFilter' method

public testGetCompiledFilter2() : mixed
Return values
mixed

testGetCompiledFilter3()

Testing 'getCompiledFilter' method

public testGetCompiledFilter3() : mixed
Return values
mixed

testRecordsCountByField()

Testing 'recordsCountByField' method

public testRecordsCountByField() : mixed
Return values
mixed

getCrudServiceClientMock()

Getting mock object for Crud service client

protected getCrudServiceClientMock() : object
Return values
object

Mock object

getSetupMockWithGetMethod()

Method make full setup of the mock object

protected getSetupMockWithGetMethod(string $configName) : object
Parameters
$configName : string
Return values
object

Mock object

Search results

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