public async Task Base64UrlSafeEncode(string value, string expected) { // Arrange var input = new StringValue(value); var arguments = new FilterArguments(); var context = new TemplateContext(); // Act var result = await MiscFilters.Base64UrlSafeEncode(input, arguments, context); // Assert Assert.Equal(expected, result.ToStringValue()); }