/**
  * @param string[] $pathsToRoutingConfigs
  */
 public function configureSlimAppWithRoutes(array $pathsToRoutingConfigs, ContainerInterface $containerWithControllers, SlimAppAdapter $slimAppAdapter)
 {
     foreach ($pathsToRoutingConfigs as $pathToRoutingConfig) {
         $routes = $this->routingConfigReader->getRoutesFromFile($pathToRoutingConfig);
         $this->routingConfigApplier->configureApplicationWithRoutes($slimAppAdapter, $routes, $containerWithControllers);
     }
 }
 function it_can_configure_slim_app_with_routes(ContainerInterface $container, SlimAppAdapter $slimAppAdapter, Route $route, RoutingConfigReader $routingConfigReader, RoutingConfigApplier $routingConfigApplier)
 {
     // ARRANGE
     $routingConfigReader->getRoutesFromFile('route-config.php')->willReturn([$route]);
     // ACT
     $this->configureSlimAppWithRoutes(['route-config.php'], $container, $slimAppAdapter);
     // ASSERT
     $routingConfigApplier->configureApplicationWithRoutes($slimAppAdapter, [$route], $container)->shouldHaveBeenCalled();
 }