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

testCanCheckForDataInAnObject() public method

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