PHP Class Respect\Validation\Rules\AbstractCompositeTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: respect/validation

Public Methods

Method Description
testHasRuleShouldReturnFalseWhenRuleIsNotFound ( )
testHasRuleShouldReturnFalseWhenRulePassedAsStringIsNotFound ( )
testHasRuleShouldReturnFalseWhenThereIsNoRuleAppended ( )
testHasRuleShouldReturnTrueWhenRuleIsFound ( )
testRemoveRulesShouldRemoveAllTheAddedRules ( )
testShouldAddRulesByPassingThroughConstructor ( )
testShouldDefineNameForInternalRulesWhenItHasNotAName ( )
testShouldDefineNameForInternalWhenAppendRuleToCompositeRule ( )
testShouldNotDefineNameForInternalRulesWhenItHasAName ( )
testShouldNotUpdateInternalRuleAlreadyHasAName ( )
testShouldReturnTheAmountOfAddedRules ( )
testShouldUpdateInternalRuleNameWhenNameIsUpdated ( )
testShouldUpdateInternalRuleWhenItsNameIsNull ( )

Method Details

testHasRuleShouldReturnFalseWhenRuleIsNotFound() public method

testHasRuleShouldReturnFalseWhenRulePassedAsStringIsNotFound() public method

testHasRuleShouldReturnFalseWhenThereIsNoRuleAppended() public method

testHasRuleShouldReturnTrueWhenRuleIsFound() public method

testRemoveRulesShouldRemoveAllTheAddedRules() public method

testShouldAddRulesByPassingThroughConstructor() public method

testShouldDefineNameForInternalRulesWhenItHasNotAName() public method

testShouldDefineNameForInternalWhenAppendRuleToCompositeRule() public method

testShouldNotDefineNameForInternalRulesWhenItHasAName() public method

testShouldNotUpdateInternalRuleAlreadyHasAName() public method

testShouldReturnTheAmountOfAddedRules() public method

testShouldUpdateInternalRuleNameWhenNameIsUpdated() public method

testShouldUpdateInternalRuleWhenItsNameIsNull() public method