hasData() public method

check for existence of data using a dot.notation.path
public hasData ( string $path ) : boolean
$path string the dot.notation.path to use to navigate
return boolean
 /**
  * @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::hasData()
  */
 public function testHasDataReturnsFalseWhenConfigPathNotFoundInAScalar()
 {
     // ----------------------------------------------------------------
     // setup your test
     $obj = new WrappedConfig();
     $obj->loadConfigFromFile(__DIR__ . "/wrapped-config-2.json");
     // ----------------------------------------------------------------
     // perform the change
     $actual = $obj->hasData("storyplayer.ipAddress.netmask");
     // ----------------------------------------------------------------
     // test the results
     $this->assertFalse($actual);
 }