DataSift\Storyplayer\ConfigLib\WrappedConfigTest::testGetDataThrowsExceptionWhenConfigPathNotFoundInAnObject PHP Метод

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

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