getElement() public method

Path must point to leaf. Syntax for paths is same as for getRawData.
public getElement ( string $path ) : mixed
$path string A path to the element to get
return mixed String with desired element, or FALSE on failure
 /**
  * @test
  */
 public function returnsElementCorrectly()
 {
     $result = $this->model->getElement('localeDisplayNames/localeDisplayPattern/localePattern');
     $this->assertEquals('{0} ({1})', $result);
     $result = $this->model->getElement('localeDisplayNames/variants');
     $this->assertEquals(false, $result);
 }