/** * @covers Sef\Router\Router::process */ public function testProcessSuccessfullySetUpRegexp() { $forumConf = new ForumConfigurationMock(); $router = new Router(); $router->setModuleString('forum'); $router->setModuleConfiguration($forumConf->getConfiguration()); $router->process(); $this->assertEquals($forumConf->getConfiguration(), $router->getModuleConfiguration()); }