public void IdNotSupported(Type type)
        {
            var ic = new NullIdentityChecker();

            Assert.IsFalse(ic.SupportsId(type));
        }
Beispiel #2
0
 /// <summary>
 /// Clear any conventions
 /// </summary>
 public void Clear()
 {
     IdentityChecker     = new NullIdentityChecker();
     TypeConventions     = new TypeConventions();
     PropertyConventions = new PropertyConventions();
 }
        public void ExtractReturnsNull(object value)
        {
            var ic = new NullIdentityChecker();

            Assert.IsNull(ic.ExtractId(value));
        }