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

testGetObjectThrowsExceptionWhenNonObjectRetrieved() public method

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