I trying to get my head around how to test a piece of .NET Core middleware.
public class MyMiddleware { public async Task Invoke(HttpContext context)