getObject() public method

throws an exception if the path does not point to an object
public getObject ( string $path ) : object
$path string the dot.notation.path to the data to return
return object
 /**
  * @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::getObject()
  * @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::getData()
  * @expectedException DataSift\Stone\ObjectLib\E4xx_PropertyNotAnObject
  */
 public function testGetObjectThrowsExceptionWhenNonObjectRetrieved()
 {
     // ----------------------------------------------------------------
     // setup your test
     $obj = new WrappedConfig();
     $obj->loadConfigFromFile(__DIR__ . "/wrapped-config-2.json");
     // ----------------------------------------------------------------
     // perform the change
     $obj->getObject("storyplayer.ipAddress");
 }