Пример #1
0
        public void IdNotSupported(Type type)
        {
            var ic = new NullIdentityChecker();

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

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