public static AddressController GetInitialisedAddressController(IAddressService addressService)
        {
            var controller = new AddressController(addressService)
            {
                Request = new HttpRequestMessage { RequestUri = new Uri(Url) },
                Configuration = new HttpConfiguration()
            };

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

            return controller;
        }
 public void Setup()
 {
     _addressController = ControllerHelper.GetInitialisedAddressController(_mockAddressService.Object);
     AutoMapperConfig.Bootstrap();
 }