Example #1
0
 public void Should_mask_all_except_last_four_characters(string input, string result)
 {
     Assert.That(Maskify.Mask(input), Is.EqualTo(result));
 }
Example #2
0
 public void Should_mask_nothing_when_empty()
 {
     Assert.That(Maskify.Mask(string.Empty), Is.EqualTo(string.Empty));
 }
Example #3
0
 public void Should_mask_nothing_when_less_or_equal_to_4_characters(string input, string result)
 {
     Assert.That(Maskify.Mask(input), Is.EqualTo(result));
 }