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

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode 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 méthode

abstract public createFactory ( ) : Kraken\Util\Factory\FactoryInterface
Résultat Kraken\Util\Factory\FactoryInterface

getTest() abstract public méthode

See also: TestCase::getTest
abstract public getTest ( ) : Kraken\_Unit\TestCase
Résultat Kraken\_Unit\TestCase

testApiBindParam_BindsParam() public méthode

testApiBindParam_ReturnsCaller() public méthode

testApiCreate_CallsAndReturnsFromDefinition() public méthode

testApiCreate_ThrowsException_ForNonExistingKey() public méthode

testApiDefine_AttachesFactoryMethod() public méthode

testApiDefine_ReturnsCaller() public méthode

testApiGetDefinition_ReturnsSameCallable_ForExistingKey() public méthode

testApiGetDefinition_ThrowsException_ForNonExistingKey() public méthode

testApiGetDefinitions_ReturnsArray_WhenParamsWereSet() public méthode

testApiGetDefinitions_ReturnsEmptyArray_WhenNoDefinitionsWereSet() public méthode

testApiGetParam_ResolvesCallable() public méthode

testApiGetParam_ReturnsSameObject_ForExistingKey() public méthode

testApiGetParam_ThrowsException_ForNonExistingKey() public méthode

testApiGetParams_ReturnsArray_WhenParamsWereSet() public méthode

testApiGetParams_ReturnsEmptyArray_WhenNoParamsWereSet() public méthode

testApiHasDefinition_ReturnsFalse_ForNonExistingKey() public méthode

testApiHasDefinition_ReturnsTrue_ForExistingKey() public méthode

testApiHasParam_ReturnsFalse_ForNonExistingKey() public méthode

testApiHasParam_ReturnsTrue_ForExistingKey() public méthode

testApiRemove_DoesNothing_ForNonExistingMethod() public méthode

testApiRemove_RemovesFactoryMethod_ForExistingMethod() public méthode

testApiRemove_ReturnsCaller() public méthode

testApiUnbindParam_DoesNothing_ForNonExistingKey() public méthode

testApiUnbindParam_ReturnsCaller() public méthode

testApiUnbindParam_UnbindsParam_ForExistingKey() public méthode