public void EncodeBase64() { StringOperators.EncodeBase64(null).Should().BeNull(); StringOperators.EncodeBase64("").Should().Be(""); StringOperators.EncodeBase64("Ewout").Should().Be("RXdvdXQ="); StringOperators.EncodeBase64("Ewout>").Should().Be("RXdvdXQ+"); StringOperators.EncodeBase64("编码方式").Should().Be("57yW56CB5pa55byP"); StringOperators.FpEncode("Ewout", "base64").Should().Be("RXdvdXQ="); }