TestClassInputModelBuilderDefaultValue
extends WP_UnitTestCase
in package
Table of Contents
- $_pSubject : InputModelBuilderDefaultValue
- dataProviderCallbackValueInputModelDefaultValue() : Generator
- prepare() : mixed
- testCallbackValueInputModelDefaultValue() : mixed
- testCreateInputModelDefaultValue() : Closure
- testGetAndSetData() : mixed
- testValueCallback() : mixed
- createFieldsCollection() : FieldsCollection
Properties
$_pSubject
private
InputModelBuilderDefaultValue
$_pSubject
= null
Methods
dataProviderCallbackValueInputModelDefaultValue()
public
dataProviderCallbackValueInputModelDefaultValue() : Generator
Return values
Generator —prepare()
public
prepare() : mixed
Tags
Return values
mixed —testCallbackValueInputModelDefaultValue()
public
testCallbackValueInputModelDefaultValue(InputModelDB $pExpectedInputModel, string $fieldType, array<string|int, mixed> $permittedValues, array<string|int, mixed> $presetValues) : mixed
Parameters
- $pExpectedInputModel : InputModelDB
- $fieldType : string
- $permittedValues : array<string|int, mixed>
- $presetValues : array<string|int, mixed>
Tags
Return values
mixed —testCreateInputModelDefaultValue()
public
testCreateInputModelDefaultValue() : Closure
Return values
Closure —testGetAndSetData()
public
testGetAndSetData() : mixed
Return values
mixed —testValueCallback()
public
testValueCallback(Closure $pClosure) : mixed
Parameters
- $pClosure : Closure
Tags
Return values
mixed —createFieldsCollection()
private
createFieldsCollection() : FieldsCollection