Example #1
0
 private bool IsValidString(string str, out string message)
 {
     if (!_stringCoparerService.IsValidString(str))
     {
         message = "String is not valid";
         return(false);
     }
     message = null;
     return(true);
 }
Example #2
0
 public void Base64StringComparerIsValidReturnsTrue(string base64String)
 {
     Assert.IsTrue(_comparer.IsValidString(base64String), string.Format("{0} is not a valid base64 string", base64String));
 }