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

testCannotMergeDataByExtendingAScalar() public method

    public function testCannotMergeDataByExtendingAScalar()
    {
        // ----------------------------------------------------------------
        // setup your test
        $obj = new WrappedConfig();
        $obj->loadConfigFromFile(__DIR__ . "/wrapped-config-2.json");
        $dataToMerge = new stdClass();
        $dataToMerge->home = getenv("HOME");
        // ----------------------------------------------------------------
        // perform the change
        $obj->mergeData("storyplayer.ipAddress", $dataToMerge);
    }
WrappedConfigTest