PHP Class Kraken\_Unit\Container\ServiceProviderTest

Inheritance: extends Kraken\Test\TUnit
Datei anzeigen Open project: kraken-php/framework

Public Methods

Method Description
createProvider ( string[] | null $methods = null ) : ServiceProvider | PHPUnit_Framework_MockObject_MockObject
testApiBootProvider_BootsProvider ( )
testApiBootProvider_ThrowsException_WhenModelThrowsException ( )
testApiGetProvides_ReturnsListOfProvidedDefinitions ( )
testApiGetRequires_ReturnsListOfRequiredDefinitions ( )
testApiIsBooted_ReturnsFalse_WhenProviderIsNotBooted ( )
testApiIsBooted_ReturnsTrue_WhenProviderIsBooted ( )
testApiIsRegistered_ReturnsFalse_WhenProviderIsNotRegistered ( )
testApiIsRegistered_ReturnsTrue_WhenProviderIsRegistered ( )
testApiRegisterProvider_RegistersProvider ( )
testApiRegisterProvider_ThrowsException_WhenModelThrowsException ( )
testApiUnregisterProvider_UnregistersProvider ( )

Method Details

createProvider() public method

public createProvider ( string[] | null $methods = null ) : ServiceProvider | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
return Kraken\Container\ServiceProvider | PHPUnit_Framework_MockObject_MockObject

testApiBootProvider_BootsProvider() public method

testApiBootProvider_ThrowsException_WhenModelThrowsException() public method

testApiGetProvides_ReturnsListOfProvidedDefinitions() public method

testApiGetRequires_ReturnsListOfRequiredDefinitions() public method

testApiIsBooted_ReturnsFalse_WhenProviderIsNotBooted() public method

testApiIsBooted_ReturnsTrue_WhenProviderIsBooted() public method

testApiIsRegistered_ReturnsFalse_WhenProviderIsNotRegistered() public method

testApiIsRegistered_ReturnsTrue_WhenProviderIsRegistered() public method

testApiRegisterProvider_RegistersProvider() public method

testApiRegisterProvider_ThrowsException_WhenModelThrowsException() public method

testApiUnregisterProvider_UnregistersProvider() public method