Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Respect
Validation
Rules
AbstractRelatedTest
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
public
providerForOperations
( )
testConstructionOfAbstractRelatedClass()
public
method
public
testConstructionOfAbstractRelatedClass
( )
testOperationsShouldReturnTrueWhenReferenceValidatesItsValue()
public
method
public
testOperationsShouldReturnTrueWhenReferenceValidatesItsValue
(
$method
)
testShouldAcceptMandatoryFlagOnConstructor()
public
method
public
testShouldAcceptMandatoryFlagOnConstructor
( )
testShouldAcceptReferenceAndRuleOnConstructor()
public
method
public
testShouldAcceptReferenceAndRuleOnConstructor
( )
testShouldAcceptReferenceOnConstructor()
public
method
public
testShouldAcceptReferenceOnConstructor
( )
testShouldBeMandatoryByDefault()
public
method
public
testShouldBeMandatoryByDefault
( )
testShouldDefineChildNameWhenDefiningTheNameOfTheParent()
public
method
public
testShouldDefineChildNameWhenDefiningTheNameOfTheParent
( )
testShouldDefineRuleNameAsReferenceWhenRuleDoesNotHaveAName()
public
method
public
testShouldDefineRuleNameAsReferenceWhenRuleDoesNotHaveAName
( )
testShouldNotDefineRuleNameAsReferenceWhenRuleDoesHaveAName()
public
method
public
testShouldNotDefineRuleNameAsReferenceWhenRuleDoesHaveAName
( )
testValidateShouldReturnFalseWhenIsMandatoryAndThereIsNoReference()
public
method
public
testValidateShouldReturnFalseWhenIsMandatoryAndThereIsNoReference
( )