/**
  * @When I send a GET request to :path
  */
 public function iSendAGetRequestTo($path)
 {
     $request = new ServerRequest([], [], 'http://api.com' . $path, 'GET');
     $this->responseReceived = $this->application->run($request);
 }
<?php

require_once __DIR__ . '/../../../vendor/autoload.php';
use Sainsburys\HttpService\Application;
use UltraLite\Container\Container;
$routingConfigFiles = [__DIR__ . '/../config/routing.php'];
$diConfigFile = __DIR__ . '/../config/di.php';
$containerWithControllers = new Container();
$containerWithControllers->configureFromFile($diConfigFile);
$application = Application::factory($routingConfigFiles, $containerWithControllers);
$application->run();