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