Example #1
0
 public function testLoad()
 {
     $helper = new Helper();
     $cfg = $helper->getConfig(dirname(__DIR__) . '/Fixtures');
     $this->assertArrayHasKey('SomeClass::someMethod', $cfg['graph']['calling']);
 }
Example #2
0
 /**
  * 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);
 }