PHP Trait Kraken\_Unit\Console\_Case\RuntimeCase

Datei anzeigen Open project: kraken-php/framework

Public Methods

Method Description
createRuntime ( string[] $params = [], string[] | null $methods = null ) : RuntimeContainer | PHPUnit_Framework_MockObject_MockObject
eventsProvider ( ) : string[][]
getTest ( ) : TUnit
stateSwitchersProvider ( ) : string[][]
statesProvider ( ) : string[][]
testApiAlias_ReturnsAlias ( )
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiFail_CallsModelMethod ( )
testApiGetCore_CallsModelMethod ( )
testApiGetLoop_CallsModelMethod ( )
testApiManager_CallsModelMethod ( )
testApiModel_ReturnsModel ( )
testApiName_ReturnsName ( )
testApiParent_ReturnsParent ( )
testApiSetCore_CallsModelMethod ( )
testApiState_CallsModelMethod ( )
testApiSucceed_CallsModelMethod ( )
testApiType_ReturnsType ( )
testCaseAllIsStateMethods_CallsModelMethod ( $state )
testCaseAllOnMethods_RegisterHandlersForEvents ( $event )
testCaseAllSetStateMethods_CallsModelMethod ( $switcher )
testProtectedApiBoot_ReturnsSelf ( )
testProtectedApiConfig_ReturnsArray ( )
testProtectedApiConstruct_ReturnsSelf ( )
testProtectedApiInternalBoot_CallsBootMethod ( )
testProtectedApiInternalConfig_CallsConfigMethod ( )
testProtectedApiInternalConstruct_CallsConstructMethod ( )

Method Details

createRuntime() abstract public method

abstract public createRuntime ( string[] $params = [], string[] | null $methods = null ) : RuntimeContainer | PHPUnit_Framework_MockObject_MockObject
$params string[]
$methods string[] | null
return Kraken\Runtime\RuntimeContainer | PHPUnit_Framework_MockObject_MockObject

eventsProvider() public method

public eventsProvider ( ) : string[][]
return string[][]

getTest() abstract public method

abstract public getTest ( ) : TUnit
return Kraken\Test\TUnit

stateSwitchersProvider() public method

public stateSwitchersProvider ( ) : string[][]
return string[][]

statesProvider() public method

public statesProvider ( ) : string[][]
return string[][]

testApiAlias_ReturnsAlias() public method

testApiConstructor_CreatesInstance() public method

testApiDestructor_DoesNotThrowException() public method

testApiFail_CallsModelMethod() public method

testApiGetCore_CallsModelMethod() public method

testApiGetLoop_CallsModelMethod() public method

testApiManager_CallsModelMethod() public method

testApiModel_ReturnsModel() public method

testApiName_ReturnsName() public method

testApiParent_ReturnsParent() public method

testApiSetCore_CallsModelMethod() public method

testApiState_CallsModelMethod() public method

testApiSucceed_CallsModelMethod() public method

testApiType_ReturnsType() public method

testCaseAllIsStateMethods_CallsModelMethod() public method

testCaseAllOnMethods_RegisterHandlersForEvents() public method

testCaseAllSetStateMethods_CallsModelMethod() public method

testProtectedApiBoot_ReturnsSelf() public method

testProtectedApiConfig_ReturnsArray() public method

testProtectedApiConstruct_ReturnsSelf() public method

testProtectedApiInternalBoot_CallsBootMethod() public method

testProtectedApiInternalConfig_CallsConfigMethod() public method

testProtectedApiInternalConstruct_CallsConstructMethod() public method