Documentation

CustomFieldUnitTest extends TestCase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

testConstructor()  : void
Testing constructor
testConstructorSpecialCases()  : void
Testing constructor with special cases
getFieldMock()  : object
Method returns mock object of the custom field

Methods

testConstructor()

Testing constructor

public testConstructor() : void
Return values
void

testConstructorSpecialCases()

Testing constructor with special cases

public testConstructorSpecialCases() : void
Return values
void

getFieldMock()

Method returns mock object of the custom field

protected getFieldMock(array<string|int, mixed> $fieldData) : object
Parameters
$fieldData : array<string|int, mixed>

field data

Return values
object

mock object of the custom field

Search results