PHP Класс OrnoTest\Route\RouteCollectionTest

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

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

Метод Описание
testCollectionReturnsDispatcher ( ) : void Asserts that getDispatcher method returns correct instance
testExceptionIsThrownWhenWrongStrategyTypeProvided ( ) : void Asserts that an exception is thrown when an incorrect strategy type is provided
testGlobalStrategyIsUsedWhenSet ( ) : void Asserts that global strategy is used when set
testSetsRoutesViaConvenienceMethods ( ) : void Asserts that routes are set via convenience methods
testSetsRoutesViaConvenienceMethodsWithClosures ( ) : void Asserts that routes are set via convenience methods with Closures

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

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

Asserts that getDispatcher method returns correct instance
public testCollectionReturnsDispatcher ( ) : void
Результат void

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

Asserts that an exception is thrown when an incorrect strategy type is provided

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

Asserts that global strategy is used when set
public testGlobalStrategyIsUsedWhenSet ( ) : void
Результат void

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

Asserts that routes are set via convenience methods
public testSetsRoutesViaConvenienceMethods ( ) : void
Результат void

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

Asserts that routes are set via convenience methods with Closures