public function testLoad() { $helper = new Helper(); $cfg = $helper->getConfig(dirname(__DIR__) . '/Fixtures'); $this->assertArrayHasKey('SomeClass::someMethod', $cfg['graph']['calling']); }
/** * get the graph section of the configuration for this package * * @param string $dir the root dir of the package * * @return array */ protected function getConfig($dir) { $helper = new Helper(); return $helper->getGraphConfig($dir); }