Exemplo n.º 1
0
            public void WithBase64_ThenReturnText(string base64, string expected)
            {
                var result = Base64Encoder.ConvertFromBase64(base64);

                Assert.That(result, Is.EqualTo(expected));
            }
Exemplo n.º 2
0
 public void WhenArgIsNull_ThenThrowException()
 {
     Assert.Throws <ArgumentNullException>(() => Base64Encoder.ConvertFromBase64(null));
 }