Documentation

EntityTest extends TestCase
in package

EntityTest Class Doc Comment

Table of Contents

$_entity  : mixed
$config  : mixed
_mockRequest()  : mixed
testAll()  : mixed
testDynamicAttributes()  : mixed
testGetVariables()  : mixed
testInvalidType()  : mixed
testMaxLengthAttributes()  : mixed
testObjectCreation()  : mixed
testRead()  : mixed
testReadOnlyAttributes()  : mixed
testSave()  : mixed
testSearch()  : mixed
testSetVariables()  : mixed
setUp()  : mixed

Properties

Methods

_mockRequest()

public _mockRequest(mixed $endpoint) : mixed
Parameters
$endpoint : mixed
Return values
mixed

testAll()

public testAll() : mixed
Return values
mixed

testDynamicAttributes()

public testDynamicAttributes() : mixed
Return values
mixed

testGetVariables()

public testGetVariables() : mixed
Return values
mixed

testInvalidType()

public testInvalidType() : mixed
Tags
expectedException

\Exception

expectedExceptionMessage

Wrong type object. It should be int for property quantity

Return values
mixed

testMaxLengthAttributes()

public testMaxLengthAttributes() : mixed
Tags
expectedException

\Exception

expectedExceptionMessage

Error maxLength in attribute maxLengthAttribute

Return values
mixed

testObjectCreation()

public testObjectCreation() : mixed
Return values
mixed

testRead()

public testRead() : mixed
Return values
mixed

testReadOnlyAttributes()

public testReadOnlyAttributes() : mixed
Tags
expectedException

\Exception

expectedExceptionMessage

Error readOnly in attribute readOnlyAttribute

Return values
mixed

testSave()

public testSave() : mixed
Return values
mixed

testSearch()

public testSearch() : mixed
Return values
mixed

testSetVariables()

public testSetVariables() : mixed
Return values
mixed

setUp()

protected setUp() : mixed
Return values
mixed

Search results