public void TestObjectToTypeNameConverterValueToType() { var converter = new ObjectToTypeName(); Assert.NotEqual(converter.Convert("hello", typeof(string), null, CultureInfo.CurrentCulture), ObjectToTypeName.NullObjectType); }
public void TestObjectToTypeNameConvertsNullToNone() { var converter = new ObjectToTypeName(); Assert.Equal(converter.Convert(null, typeof(string), null, CultureInfo.CurrentCulture), ObjectToTypeName.NullObjectType); }