PHP Class Respect\Validation\Rules\AbstractRelatedTest

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

Public Methods

Method Description
providerForOperations ( )
testConstructionOfAbstractRelatedClass ( )
testOperationsShouldReturnTrueWhenReferenceValidatesItsValue ( $method )
testShouldAcceptMandatoryFlagOnConstructor ( )
testShouldAcceptReferenceAndRuleOnConstructor ( )
testShouldAcceptReferenceOnConstructor ( )
testShouldBeMandatoryByDefault ( )
testShouldDefineChildNameWhenDefiningTheNameOfTheParent ( )
testShouldDefineRuleNameAsReferenceWhenRuleDoesNotHaveAName ( )
testShouldNotDefineRuleNameAsReferenceWhenRuleDoesHaveAName ( )
testValidateShouldReturnFalseWhenIsMandatoryAndThereIsNoReference ( )

Method Details

providerForOperations() public method

testConstructionOfAbstractRelatedClass() public method

testOperationsShouldReturnTrueWhenReferenceValidatesItsValue() public method

testShouldAcceptMandatoryFlagOnConstructor() public method

testShouldAcceptReferenceAndRuleOnConstructor() public method

testShouldAcceptReferenceOnConstructor() public method

testShouldBeMandatoryByDefault() public method

testShouldDefineChildNameWhenDefiningTheNameOfTheParent() public method

testShouldDefineRuleNameAsReferenceWhenRuleDoesNotHaveAName() public method

testShouldNotDefineRuleNameAsReferenceWhenRuleDoesHaveAName() public method

testValidateShouldReturnFalseWhenIsMandatoryAndThereIsNoReference() public method