How to mock the CreateResponse<T> extension method on HttpRequestMessage
This was solved by specifying an empty configuration:
request.Properties.Add(HttpPropertyKeys.HttpConfigurationKey, new HttpConfiguration());
I got the answer to that from here
ASP.NET WebApi unit testing with Request.CreateResponse