getArray() public method

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