public static RequirementsController GetInitialisedRequirementsController(IRequirementService requirementService)
        {
            var controller = new RequirementsController(requirementService)
            {
                Request = new HttpRequestMessage { RequestUri = new Uri(Url) },
                Configuration = new HttpConfiguration()
            };

            controller.Configuration.MapHttpAttributeRoutes();
            controller.Configuration.EnsureInitialized();

            return controller;
        }
 public void Setup()
 {
     _requirementsController =
         ControllerHelper.GetInitialisedRequirementsController(_mockRequirementService.Object);
     AutoMapperConfig.Bootstrap();
 }