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
WhenTest
PHP Class Respect\Validation\Rules\WhenTest
Inheritance:
extends
RuleTestCase
Show file
Open project: respect/validation
Public Methods
Method
Description
providerForInvalidInput
( ) :
array
providerForValidInput
( ) :
array
It is to provide constructor arguments and.
testShouldConstructAnObjectWithElseRule
( )
testShouldConstructAnObjectWithoutElseRule
( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnAssertMethod
( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnCheckMethod
( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnAssertMethod
( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod
( )
Method Details
providerForInvalidInput()
public
method
public
providerForInvalidInput
( ) :
array
return
array
providerForValidInput()
public
method
It is to provide constructor arguments and.
public
providerForValidInput
( ) :
array
return
array
testShouldConstructAnObjectWithElseRule()
public
method
public
testShouldConstructAnObjectWithElseRule
( )
testShouldConstructAnObjectWithoutElseRule()
public
method
public
testShouldConstructAnObjectWithoutElseRule
( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnAssertMethod()
public
method
public
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnAssertMethod
( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnCheckMethod()
public
method
public
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnCheckMethod
( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnAssertMethod()
public
method
public
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnAssertMethod
( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod()
public
method
public
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod
( )