DataSift\Storyplayer\ConfigLib\StoryplayerConfigTest::testDefaultsSectionIsOptional PHP Метод

testDefaultsSectionIsOptional() публичный Метод

    public function testDefaultsSectionIsOptional()
    {
        // ----------------------------------------------------------------
        // setup your test
        $obj = new StoryplayerConfig();
        // ----------------------------------------------------------------
        // perform the change
        $obj->loadConfigFromFile(__DIR__ . "/storyplayer-config-with-no-defaults.json");
        // ----------------------------------------------------------------
        // test the results
        $obj->validateConfig();
    }