(new HtmlTestEncoder())
- .BuildServiceProvider());
-
- // Act
- await middleware.Invoke(contextMock.Object);
-
- // Assert
- string response = Encoding.UTF8.GetString(buffer);
-
- Assert.True(response.Contains("| HtmlEncode[[LibInfo1]] | "));
- Assert.True(response.Contains("HtmlEncode[[1.0.0-beta1]] | "));
- Assert.True(response.Contains("HtmlEncode[[Path1]] | "));
- }
- }
}
}