PHP Class Bluz\Tests\Validator\Rule\CallbackTest

Inheritance: extends Bluz\Tests\TestCase
Afficher le fichier Open project: bluzphp/framework

Méthodes publiques

Méthode Description
setUp ( ) Setup Callbacks
testCallbackValidatorShouldAcceptArrayCallbackDefinitions ( )
testCallbackValidatorShouldAcceptFunctionNamesAsString ( )
testCallbackValidatorShouldReturnFalseIfCallbackReturnsFalse ( )
testCallbackValidatorShouldReturnTrueIfCallbackReturnsTrue ( )
testInvalidCallbacksShouldRaiseComponentExceptionUponInstantiation ( )
thisIsASampleCallbackUsedInsideThisTest ( ) : boolean

Method Details

setUp() public méthode

Setup Callbacks
public setUp ( )

testCallbackValidatorShouldAcceptArrayCallbackDefinitions() public méthode

testCallbackValidatorShouldAcceptFunctionNamesAsString() public méthode

testCallbackValidatorShouldReturnFalseIfCallbackReturnsFalse() public méthode

testCallbackValidatorShouldReturnTrueIfCallbackReturnsTrue() public méthode

testInvalidCallbacksShouldRaiseComponentExceptionUponInstantiation() public méthode

thisIsASampleCallbackUsedInsideThisTest() public méthode