Moq – Mocking the Request context and verifying SQLException is raised.

Mocking the Request on an API Controller Had an API controller under unit test which made use of the HttpMessageRequest which I needed to mock.How do I get a handle on this? Again pretty simple really (my initial train of thought was back to front…