tests/unit/Subjects/AbstractSubjectTest.php
/**
     * Test the getCoreConfigData() method with fallback on default level.
     *
     * @return void
     */
Test the getCoreConfigData() method with fallback on default level.
@return void
Test the getCoreConfigData () method with fallback on default level . @return void
public function testGetCoreConfigDataWithFallbackOnDefaultLevel()
    {
        $configValue = $this->abstractSubject
                            ->getCoreConfigData(
                                'fallback/on/default/level',
                                null,
                                ScopeKeys::SCOPE_STORES,
                                1
                            );
        $this->assertSame(1001, $configValue);
    }
public function testGetCoreConfigDataWithFallbackOnDefaultLevel ( ) { $ configValue = $ this -> abstractSubject -> getCoreConfigData ( 'fallback/on/default/level' , null , ScopeKeys :: SCOPE_STORES , 1 ) ; $ this -> assertSame ( 1001 , $ configValue ) ; }
Test the getCoreConfigData() method with fallback on default level.
Test the getCoreConfigData () method with fallback on default level .
// try to load the configuration value // query whether or not the requested value has been found