public void Should_convert_null_to_nullable_struct() { IntBasedStructEnumTypeConverter.ConvertTo(null, null, null, typeof(StructIntegerEnum?)).Should().BeNull(); }
public void Should_convert_struct_enum_to_nullable_struct() { IntBasedStructEnumTypeConverter.ConvertTo(null, null, StructIntegerEnum.Item1, typeof(StructIntegerEnum?)).Should().Be(StructIntegerEnum.Item1); }