public EnrichWithActorCommandMiddlewareTests() { A.CallTo(() => httpContextAccessor.HttpContext) .Returns(httpContext); sut = new EnrichWithActorCommandMiddleware(httpContextAccessor); }