Method | Description | |
---|---|---|
provideInvalidInputForAcceptValue ( ) | ||
provideInvalidValidatorConfiguration ( ) : array | Provide data sets with validator configurations which are considered invalid by the {@link validateValidatorConfiguration()} method. The method must return a non-empty array of validation errors when receiving one of the provided values. | |
provideValidValidatorConfiguration ( ) : array | Provide data sets with validator configurations which are considered valid by the {@link validateValidatorConfiguration()} method. |
Method | Description | |
---|---|---|
getSettingsSchemaExpectation ( ) | ||
getValidatorConfigurationSchemaExpectation ( ) |
protected getValidatorConfigurationSchemaExpectation ( ) |
return array(
array(
array(
'NonExistentValidator' => array(),
),
),
array(
array(
Typos
'InTEgervALUeVALIdator' => array(
'minIntegerValue' => 0,
'maxIntegerValue' => 23,
)
)
),
array(
array(
'IntegerValueValidator' => array(
Incorrect value types
'minIntegerValue' => true,
'maxIntegerValue' => false,
)
)
),
...
);
public provideInvalidValidatorConfiguration ( ) : array | ||
return | array |
return array(
array(
array(),
),
array(
array(
'IntegerValueValidator' => array(
'minIntegerValue' => 0,
'maxIntegerValue' => 23,
)
)
),
...
);
public provideValidValidatorConfiguration ( ) : array | ||
return | array |