public function testApiGetDataPath_ReturnsDataPath() { $core = $this->createCore(); $this->setProtectedProperty($core, 'dataPath', $path = 'dataPath'); $result = $core->getDataPath(); $this->assertSame($path, $result); }