PHP Class Kraken\_Unit\Environment\EnvironmentTest

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

Public Methods

Method Description
createEnvironment ( ) : EnvironmentMock
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiGetEnv_ReturnsEnvironmentVariable ( )
testApiGetOption_CallsPHPFunction ( )
testApiRegisterErrorHandler_CallsPHPFunction ( )
testApiRegisterExceptionHandler_CallsPHPFunction ( )
testApiRegisterShutdownHandler_CallsPHPFunction ( )
testApiRegisterTerminationHandler_CallsPHPFunction ( )
testApiRemoveEnv_RemovesEnvironmentVariable ( )
testApiRemoveOption_CallsPHPFunction ( )
testApiSetEnv_SetsEnvironmentVariable ( )
testApiSetOption_CallsPHPFunction ( )
testProtectedApiCreateInvoker_CreatesInvoker ( )
testProtectedApiCreateLoader_CreatesLoader ( )

Method Details

createEnvironment() public method

public createEnvironment ( ) : EnvironmentMock
return Kraken\_Unit\Environment\_Mock\EnvironmentMock

testApiConstructor_CreatesInstance() public method

testApiDestructor_DoesNotThrowException() public method

testApiGetEnv_ReturnsEnvironmentVariable() public method

testApiGetOption_CallsPHPFunction() public method

testApiRegisterErrorHandler_CallsPHPFunction() public method

testApiRegisterExceptionHandler_CallsPHPFunction() public method

testApiRegisterShutdownHandler_CallsPHPFunction() public method

testApiRegisterTerminationHandler_CallsPHPFunction() public method

testApiRemoveEnv_RemovesEnvironmentVariable() public method

testApiRemoveOption_CallsPHPFunction() public method

testApiSetEnv_SetsEnvironmentVariable() public method

testApiSetOption_CallsPHPFunction() public method

testProtectedApiCreateInvoker_CreatesInvoker() public method

testProtectedApiCreateLoader_CreatesLoader() public method