public async Task InvokeAsync()
        {
            var httpContext = new DefaultHttpContext
            {
                Request =
                {
                    Path = GraphQlSchemaMiddlewareEndpoint,
                },
                Response =
                {
                    Body = new MemoryStream(),
                }
            };
            await _middleware.InvokeAsync(httpContext, new Schema
            {
                Query = new ObjectGraphType
                {
                    Name = "Fruit",
                }
            });

            httpContext.Response.Body.Seek(0, SeekOrigin.Begin);
            using var reader = new StreamReader(httpContext.Response.Body);
            Assert.Equal(
                string.Format("schema {{{0}  query: Fruit{0}}}{0}{0}type Fruit {{{0}{0}}}{0}", Environment.NewLine),
                await reader.ReadToEndAsync());
        }
        public async Task InvokeAsync()
        {
            var httpContext = new DefaultHttpContext
            {
                Request =
                {
                    Path = GraphQlSchemaMiddlewareEndpoint,
                },
                Response =
                {
                    Body = new MemoryStream(),
                }
            };
            await _middleware.InvokeAsync(httpContext, new Schema
            {
                Query = new ObjectGraphType
                {
                    Name = "Fruit",
                }
            });

            httpContext.Response.Body.Seek(0, SeekOrigin.Begin);
            using var reader = new StreamReader(httpContext.Response.Body);
            Assert.Equal("schema {\n  query: Fruit\n}\n\ntype Fruit {\n\n}\n", await reader.ReadToEndAsync());
        }