public void Returns_false_for_non_null_values(Object value)
 {
     var policy = new NullDefaultValuePolicy();
     Assert.False(policy.IsDefaultValue(value));
 }
 public void Returns_true_for_NullableInt32()
 {
     var policy = new NullDefaultValuePolicy();
     Assert.True(policy.IsDefaultValue(new Int32?()));
 }
 public void Value_types_are_not_supported(Type type)
 {
     var policy = new NullDefaultValuePolicy();
     Assert.False(policy.SupportsType(type.GetTypeInfo()));
 }
 public void Returns_true_for_Null_valuess()
 {
     var policy = new NullDefaultValuePolicy();
     Assert.True(policy.IsDefaultValue(null));
 }
 public void Nullable_types_are_supported(Type type)
 {
     var policy = new NullDefaultValuePolicy();
     Assert.True(policy.SupportsType(type.GetTypeInfo()));
 }