public function testGetPath() { $config = new Config(); $config->setModule('User'); $configWriter = new ConfigWriter($config); $this->assertEquals('module/User/config/service.config.php', $configWriter->getPath()); }
public function getConfig() { $config = new Config(); $config->setModule('User'); $config->setName('Group'); return $config; }