public void SkiLiftType_ToFriendlyString_InvalidEnum() { SkiLiftType skiLiftType = (SkiLiftType)(-1); Assert.Throws <InvalidEnumArgumentException <SkiLiftType> >(() => skiLiftType.ToFriendlyString()); }
public void SkiLiftType_ToFriendlyString_ValidEnum(string expectedString, SkiLiftType skiLiftType) { Assert.Equal(expectedString, skiLiftType.ToFriendlyString()); }