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

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

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