public void CanConvert_TestEnum_ShouldReturnTrue() { var converter = new StringEnumConverter(); Assert.True(converter.CanConvert(typeof(TestEnum))); }
public void CanConvert_EnumClass_ShouldReturnFalse() { var converter = new StringEnumConverter(); Assert.False(converter.CanConvert(typeof(Enum))); }
public void CanConvert_StringComparisonEnum_ShouldReturnTrue() { var converter = new StringEnumConverter(); Assert.True(converter.CanConvert(typeof(StringComparison))); }