public function registerGitService(Application $app) { $git = new GitService($app->get('blog.workdir')); $builder = new BuilderService($git); $app->getServices()->set('git', $git); $app->getServices()->set('builder', $builder); }
/** */ public function testGetInvalidAction() { $this->setExpectedException('Fwk\\Core\\Exception'); $this->object->get('TestAction'); }