PHP 클래스 OrnoTest\Route\RouteCollectionTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: orno/route

공개 메소드들

메소드 설명
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

testExceptionIsThrownWhenWrongStrategyTypeProvided() 공개 메소드

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

testGlobalStrategyIsUsedWhenSet() 공개 메소드

Asserts that global strategy is used when set

testSetsRoutesViaConvenienceMethods() 공개 메소드

Asserts that routes are set via convenience methods

testSetsRoutesViaConvenienceMethodsWithClosures() 공개 메소드

Asserts that routes are set via convenience methods with Closures