PHP Class Kraken\_Unit\Channel\Router\RouterCompositeTest

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createChannelRouter ( ) : Kraken\Channel\Router\RouterInterface | PHPUnit_Framework_MockObject_MockObject
createChannelRouterComposite ( Kraken\Channel\Router\RouterInterface[] $buses = [] ) : RouterComposite
createProtocol ( ) : Protocol
testApiAddDefault_CallsAddAnchorOnAllBuses ( )
testApiAddRule_CallsAddRuleOnAllBuses ( )
testApiConstructor_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )
testApiErase_CallsEraseOnAllBuses ( )
testApiExistsBus_ReturnsFalse_WhenBusDoesNotExist ( )
testApiExistsBus_ReturnsTrue_WhenBusDoesExist ( )
testApiGetBus_ReturnsBus_WhenBusDoesExist ( )
testApiGetBus_ThrowsException_WhenBusDoesNotExist ( )
testApiGetBuses_ReturnsAllBuses ( )
testApiHandle_CallsHandleOnAllBuses ( )
testApiRemoveBus_DoesNothing_WhenBusDoesNotExist ( )
testApiRemoveBus_RemovesBus_WhenBusDoesExist ( )
testApiSetBus_SetsBus ( )

Method Details

createChannelRouter() public méthode

public createChannelRouter ( ) : Kraken\Channel\Router\RouterInterface | PHPUnit_Framework_MockObject_MockObject
Résultat Kraken\Channel\Router\RouterInterface | PHPUnit_Framework_MockObject_MockObject

createChannelRouterComposite() public méthode

public createChannelRouterComposite ( Kraken\Channel\Router\RouterInterface[] $buses = [] ) : RouterComposite
$buses Kraken\Channel\Router\RouterInterface[]
Résultat Kraken\Channel\Router\RouterComposite

createProtocol() public méthode

public createProtocol ( ) : Protocol
Résultat Kraken\Channel\Protocol\Protocol

testApiAddDefault_CallsAddAnchorOnAllBuses() public méthode

testApiAddRule_CallsAddRuleOnAllBuses() public méthode

testApiConstructor_DoesNotThrowException() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiErase_CallsEraseOnAllBuses() public méthode

testApiExistsBus_ReturnsFalse_WhenBusDoesNotExist() public méthode

testApiExistsBus_ReturnsTrue_WhenBusDoesExist() public méthode

testApiGetBus_ReturnsBus_WhenBusDoesExist() public méthode

testApiGetBus_ThrowsException_WhenBusDoesNotExist() public méthode

testApiGetBuses_ReturnsAllBuses() public méthode

testApiHandle_CallsHandleOnAllBuses() public méthode

testApiRemoveBus_DoesNothing_WhenBusDoesNotExist() public méthode

testApiRemoveBus_RemovesBus_WhenBusDoesExist() public méthode

testApiSetBus_SetsBus() public méthode