TestClassInputModelBuilderCustomLabel
extends WP_UnitTestCase
in package
Table of Contents
- $_pSubject : InputModelBuilderCustomLabel
- dataProviderCallbackValueInputModelCustomLabel() : Generator
- prepare() : mixed
- testCallbackValueInputModelCustomLabel() : mixed
- testCreateInputModelCustomLabel() : Closure
- createFieldsCollection() : FieldsCollection
Properties
$_pSubject
private
InputModelBuilderCustomLabel
$_pSubject
= null
Methods
dataProviderCallbackValueInputModelCustomLabel()
public
dataProviderCallbackValueInputModelCustomLabel() : Generator
Return values
Generator —prepare()
public
prepare() : mixed
Tags
Return values
mixed —testCallbackValueInputModelCustomLabel()
public
testCallbackValueInputModelCustomLabel(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 —testCreateInputModelCustomLabel()
public
testCreateInputModelCustomLabel() : Closure
Return values
Closure —createFieldsCollection()
private
createFieldsCollection() : FieldsCollection