public void CanFulfillEnumSerializationTest() { CanFulfillEnum fulfillEnum = CanFulfillEnum.Yes; string textVal = fulfillEnum.GetDescriptionFromEnumValue(); Assert.Equal("YES", textVal); CanFulfillEnum yesVal = textVal.GetEnumValue <CanFulfillEnum>(); Assert.Equal(CanFulfillEnum.Yes, yesVal); }
public CanFulfillResponseAttributes(CanFulfillEnum canFulfill) : this() { CanFulfill = canFulfill; }