PHP Class Kraken\_Module\Util\Factory\FactoryTest

Inheritance: extends Kraken\Test\TModule
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createFactory ( ) : Kraken\Util\Factory\FactoryInterface
createFactoryPlugin ( callable $register = null, callable $unregister = null ) : Kraken\Util\Factory\FactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject
createSimpleFactory ( ) : Kraken\Util\Factory\SimpleFactoryInterface
createSimpleFactoryPlugin ( callable $register = null, callable $unregister = null ) : Kraken\Util\Factory\SimpleFactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject
testCaseFactoryPlugin_RegistersAndUnregistersItself ( )
testCaseFactory_CreatesObjectUsingFactoryMethod ( )
testCaseSimpleFactoryPlugin_RegistersItself ( )
testCaseSimpleFactory_CreatesObjectUsingFactoryMethod ( )

Method Details

createFactory() public méthode

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

createFactoryPlugin() public méthode

public createFactoryPlugin ( callable $register = null, callable $unregister = null ) : Kraken\Util\Factory\FactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject
$register callable
$unregister callable
Résultat Kraken\Util\Factory\FactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject

createSimpleFactory() public méthode

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

createSimpleFactoryPlugin() public méthode

public createSimpleFactoryPlugin ( callable $register = null, callable $unregister = null ) : Kraken\Util\Factory\SimpleFactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject
$register callable
$unregister callable
Résultat Kraken\Util\Factory\SimpleFactoryPluginInterface | PHPUnit_Framework_MockObject_MockObject

testCaseFactoryPlugin_RegistersAndUnregistersItself() public méthode

testCaseFactory_CreatesObjectUsingFactoryMethod() public méthode

testCaseSimpleFactoryPlugin_RegistersItself() public méthode

testCaseSimpleFactory_CreatesObjectUsingFactoryMethod() public méthode