PHP Класс Respect\Validation\Rules\WhenTest

Наследование: extends RuleTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
providerForInvalidInput ( ) : array
providerForValidInput ( ) : array It is to provide constructor arguments and.
testShouldConstructAnObjectWithElseRule ( )
testShouldConstructAnObjectWithoutElseRule ( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnAssertMethod ( )
testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnCheckMethod ( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnAssertMethod ( )
testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod ( )

Описание методов

providerForInvalidInput() публичный Метод

public providerForInvalidInput ( ) : array
Результат array

providerForValidInput() публичный Метод

It is to provide constructor arguments and.
public providerForValidInput ( ) : array
Результат array

testShouldConstructAnObjectWithElseRule() публичный Метод

testShouldConstructAnObjectWithoutElseRule() публичный Метод

testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnAssertMethod() публичный Метод

testShouldThrowExceptionForTheElseRuleWhenTheIfRuleIsNotValidAndTheElseRuleIsNotOnCheckMethod() публичный Метод

testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnAssertMethod() публичный Метод

testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod() публичный Метод