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

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

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