Example #1
0
 public void GetCanonicalKey_NullArgument_ThrowsException()
 {
     Assert.Throws <ArgumentNullException>(() => BanExtensions.GetCanonicalKey(null));
 }
Example #2
0
        public void GetCanonicalKey_FromRaw_ReturnTrue()
        {
            var rawKey = "B o bbahbrown";

            Assert.True("bobbahbrown" == BanExtensions.GetCanonicalKey(rawKey));
        }