public void ToBase64_NonEmptyByteArray()
 {
     Assert.AreEqual(_nonEmptyByteArray, EncodingHelpers.FromBase64ToBytes(EncodingHelpers.ToBase64(_nonEmptyByteArray)));
 }
        public void FromBase64ToBytes_NullString()
        {
            string _nullString = null;

            Assert.Throws <ArgumentNullException>(() => EncodingHelpers.FromBase64ToBytes(_nullString));
        }
 public void FromBase64ToBytes_Base64String(string encodedString)
 {
     Assert.AreEqual(encodedString, EncodingHelpers.ToBase64(EncodingHelpers.FromBase64ToBytes(encodedString)));
 }