Пример #1
0
 public void Value_ReferenceTypeWithUnkown_UnknownValue()
 {
     Assert.AreEqual(ClassWithUnknownValue.Unknown, Unknown.Value(typeof(ClassWithUnknownValue)));
 }
Пример #2
0
 public void Value_TypeWithoutUnkown_IsNull()
 {
     Assert.IsNull(Unknown.Value(typeof(Uuid)));
 }
Пример #3
0
 public void Value_ValueTypeWithUnkown_UnknownValue()
 {
     Assert.AreEqual(PostalCode.Unknown, Unknown.Value(typeof(PostalCode)));
 }