TestClassCustomLabelRead
extends WP_UnitTestCase
in package
Table of Contents
- $_pSubject : CustomLabelRead
- $_pWPDBMock : wpdb
- dataProviderField() : Generator
- prepare() : mixed
- testReadCustomLabelsField() : mixed
Properties
$_pSubject
private
CustomLabelRead
$_pSubject
= null
$_pWPDBMock
private
wpdb
$_pWPDBMock
= null
Methods
dataProviderField()
public
dataProviderField() : Generator
Return values
Generator —prepare()
public
prepare() : mixed
Tags
Return values
mixed —testReadCustomLabelsField()
public
testReadCustomLabelsField(int $formId, array<string|int, mixed> $rows, CustomLabelModelField $pReference) : mixed
Parameters
- $formId : int
- $rows : array<string|int, mixed>
- $pReference : CustomLabelModelField