PHP Trait Kraken\_Unit\Util\Factory\_Partial\FactoryPartial

Datei anzeigen Open project: kraken-php/framework

Public Methods

Method Description
createFactory ( ) : Kraken\Util\Factory\FactoryInterface
getTest ( ) : Kraken\_Unit\TestCase
testApiBindParam_BindsParam ( )
testApiBindParam_ReturnsCaller ( )
testApiCreate_CallsAndReturnsFromDefinition ( )
testApiCreate_ThrowsException_ForNonExistingKey ( )
testApiDefine_AttachesFactoryMethod ( )
testApiDefine_ReturnsCaller ( )
testApiGetDefinition_ReturnsSameCallable_ForExistingKey ( )
testApiGetDefinition_ThrowsException_ForNonExistingKey ( )
testApiGetDefinitions_ReturnsArray_WhenParamsWereSet ( )
testApiGetDefinitions_ReturnsEmptyArray_WhenNoDefinitionsWereSet ( )
testApiGetParam_ResolvesCallable ( )
testApiGetParam_ReturnsSameObject_ForExistingKey ( )
testApiGetParam_ThrowsException_ForNonExistingKey ( )
testApiGetParams_ReturnsArray_WhenParamsWereSet ( )
testApiGetParams_ReturnsEmptyArray_WhenNoParamsWereSet ( )
testApiHasDefinition_ReturnsFalse_ForNonExistingKey ( )
testApiHasDefinition_ReturnsTrue_ForExistingKey ( )
testApiHasParam_ReturnsFalse_ForNonExistingKey ( )
testApiHasParam_ReturnsTrue_ForExistingKey ( )
testApiRemove_DoesNothing_ForNonExistingMethod ( )
testApiRemove_RemovesFactoryMethod_ForExistingMethod ( )
testApiRemove_ReturnsCaller ( )
testApiUnbindParam_DoesNothing_ForNonExistingKey ( )
testApiUnbindParam_ReturnsCaller ( )
testApiUnbindParam_UnbindsParam_ForExistingKey ( )

Method Details

createFactory() abstract public method

abstract public createFactory ( ) : Kraken\Util\Factory\FactoryInterface
return Kraken\Util\Factory\FactoryInterface

getTest() abstract public method

See also: TestCase::getTest
abstract public getTest ( ) : Kraken\_Unit\TestCase
return Kraken\_Unit\TestCase

testApiBindParam_BindsParam() public method

testApiBindParam_ReturnsCaller() public method

testApiCreate_CallsAndReturnsFromDefinition() public method

testApiCreate_ThrowsException_ForNonExistingKey() public method

testApiDefine_AttachesFactoryMethod() public method

testApiDefine_ReturnsCaller() public method

testApiGetDefinition_ReturnsSameCallable_ForExistingKey() public method

testApiGetDefinition_ThrowsException_ForNonExistingKey() public method

testApiGetDefinitions_ReturnsArray_WhenParamsWereSet() public method

testApiGetDefinitions_ReturnsEmptyArray_WhenNoDefinitionsWereSet() public method

testApiGetParam_ResolvesCallable() public method

testApiGetParam_ReturnsSameObject_ForExistingKey() public method

testApiGetParam_ThrowsException_ForNonExistingKey() public method

testApiGetParams_ReturnsArray_WhenParamsWereSet() public method

testApiGetParams_ReturnsEmptyArray_WhenNoParamsWereSet() public method

testApiHasDefinition_ReturnsFalse_ForNonExistingKey() public method

testApiHasDefinition_ReturnsTrue_ForExistingKey() public method

testApiHasParam_ReturnsFalse_ForNonExistingKey() public method

testApiHasParam_ReturnsTrue_ForExistingKey() public method

testApiRemove_DoesNothing_ForNonExistingMethod() public method

testApiRemove_RemovesFactoryMethod_ForExistingMethod() public method

testApiRemove_ReturnsCaller() public method

testApiUnbindParam_DoesNothing_ForNonExistingKey() public method

testApiUnbindParam_ReturnsCaller() public method

testApiUnbindParam_UnbindsParam_ForExistingKey() public method