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

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

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