DataSift\Storyplayer\ConfigLib\WrappedConfigTest::testCanStartWithEmptyArrayForConfig PHP Method

testCanStartWithEmptyArrayForConfig() public method

    public function testCanStartWithEmptyArrayForConfig()
    {
        // ----------------------------------------------------------------
        // setup the test
        $expected = [];
        // ----------------------------------------------------------------
        // perform the change
        $obj = new WrappedConfig(WrappedConfig::ROOT_IS_ARRAY);
        // ----------------------------------------------------------------
        // test the results
        $actual = $obj->getConfig();
        $this->assertEquals($expected, $actual);
    }
WrappedConfigTest