PHP Class Gush\Tests\ConfigTest

Inheritance: extends BaseTestCase
Show file Open project: gushphp/gush

Public Methods

Method Description
provideInvalidValues ( )
testCannotGetConfigForUnsupportedSlot ( )
testCannotSetConfigForAll ( )
testCannotSetInvalidKey ( )
testCannotSetInvalidValue ( mixed $value )
testCannotSetProtectedConfigKey ( )
testCreateConfigWithLoaded ( )
testCreateConfigWithLoadedAndLocal ( )
testCreateEmptyConfigWithDefaults ( )
testGetConfigValueByKey ( )
testGetConfigValueByPath ( )
testMergeConfigWithExisting ( )
testSetConfigValue ( )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
createConfig ( array $config = [], array $localConfig = [] )

Method Details

provideInvalidValues() public static method

public static provideInvalidValues ( )

setUp() protected method

protected setUp ( )

testCannotGetConfigForUnsupportedSlot() public method

testCannotSetConfigForAll() public method

testCannotSetInvalidKey() public method

testCannotSetInvalidValue() public method

public testCannotSetInvalidValue ( mixed $value )
$value mixed

testCannotSetProtectedConfigKey() public method

testCreateConfigWithLoaded() public method

testCreateConfigWithLoadedAndLocal() public method

testCreateEmptyConfigWithDefaults() public method

testGetConfigValueByKey() public method

testGetConfigValueByPath() public method

testMergeConfigWithExisting() public method

testSetConfigValue() public method

public testSetConfigValue ( )