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

testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAScalar() public method

    public function testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAScalar()
    {
        // ----------------------------------------------------------------
        // setup your test
        $obj = new WrappedConfig();
        $obj->loadConfigFromFile(__DIR__ . "/wrapped-config-2.json");
        // ----------------------------------------------------------------
        // perform the change
        $obj->unsetData("storyplayer.ipAddress.does.not.exist");
    }
WrappedConfigTest