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

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createFactory ( ) : Kraken\Util\Factory\SimpleFactoryInterface
getTest ( ) : Kraken\_Unit\TestCase
testApiBindParam_BindsParam ( )
testApiBindParam_ReturnsCaller ( )
testApiCreate_CallsAndReturnsFromDefinition ( )
testApiCreate_ThrowsException_ForNonExistingKey ( )
testApiDefine_AttachesFactoryMethod ( )
testApiDefine_ReturnsCaller ( )
testApiGetDefinition_ReturnsSameCallable_ForExistingKey ( )
testApiGetDefinition_ThrowsException_ForNonExistingKey ( )
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 ( )
testApiUnbindParam_DoesNothing_ForNonExistingKey ( )
testApiUnbindParam_ReturnsCaller ( )
testApiUnbindParam_UnbindsParam_ForExistingKey ( )

Method Details

createFactory() abstract public méthode

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

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

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

testApiUnbindParam_DoesNothing_ForNonExistingKey() public méthode

testApiUnbindParam_ReturnsCaller() public méthode

testApiUnbindParam_UnbindsParam_ForExistingKey() public méthode