/**
  * @param $params
  */
 public function __invoke($params)
 {
     $serviceManager = ServiceManager::getServiceManager();
     $testRunnerFeatureService = new TestRunnerFeatureService();
     $testRunnerFeatureService->setServiceManager($serviceManager);
     $serviceManager->register(TestRunnerFeatureService::SERVICE_ID, $testRunnerFeatureService);
 }
 public function testUnregisterBadId()
 {
     $testLogger = new TestLogger();
     $testRunnerFeatureService = new TestRunnerFeatureService();
     $testRunnerFeatureService->setLogger($testLogger);
     $testRunnerFeatureService->unregister('idontexist');
     $this->assertTrue($testLogger->has(LogLevel::WARNING, 'Cannot unregister inexistant feature idontexist'));
 }