HttpSourceConfigFactoryTest

Extends \CakeTestCase

HttpSourceConfigFactoryTest

package

HttpSourceTest

subpackage

Config

Methods

Data provider for testFactory

factoryProvider() : array

Response

array

Data provider for testInstance

instanceProvider() : array

Response

array

{@inheritdoc}

setUp() 

Test factory

testFactory(string $factoryName, array $classMethodsMap) 
dataProvider

factoryProvider

Arguments

$factoryName

string

$classMethodsMap

array

Test making new instance

testInstance(string $factoryName, boolean $exception) 
dataProvider

instanceProvider

Arguments

$factoryName

string

$exception

boolean

Test load config

testLoad() 

Test singleton

testSingleton()