public ContentCommandMiddlewareTests() { A.CallTo(() => contextProvider.Context) .Returns(requestContext); sut = new ContentCommandMiddleware(A.Fake <IGrainFactory>(), contentEnricher, contextProvider); }
public ContentCommandMiddlewareTests() { requestContext = Context.Anonymous(Mocks.App(AppNamedId)); A.CallTo(() => contextProvider.Context) .Returns(requestContext); sut = new ContentCommandMiddleware(A.Fake <IGrainFactory>(), contentEnricher, contextProvider); }