public void ConvertTo_HasCustomConverter() { var target = new TestEnumTypeConverter(); var actual = target.ConvertTo(SimpleEnum.Third, typeof(string)); actual.Should().Be("Three"); }
public void ConvertFrom_HasCustomConversion() { var target = new TestEnumTypeConverter(); var actual = target.ConvertFrom("Two"); actual.Should().Be(SimpleEnum.Second); }