Beispiel #1
0
 public void Should_return_valid_instance_if_value_type_is_reference_type_and_key_matches_the_struct_key()
 {
     IntBasedReferenceValueObjectTypeConverter.ConvertFrom(42).Should().BeEquivalentTo(IntBasedReferenceValueObject.Create(42));
 }
Beispiel #2
0
 public void Should_return_null_if_value_type_is_reference_type_and_key_is_null()
 {
     IntBasedReferenceValueObjectTypeConverter.ConvertFrom(null).Should().BeNull();
 }