public void EnumToStringTest(NiceYou001 value, string expectedStr) { value.CastToString().ShouldBe(expectedStr); }
public void EnumToIntTest(NiceYou001 value) { var expectedInt = (int)value; value.CastTo <int>().ShouldBe(expectedInt); }
public void StringToEnumTest(string str, NiceYou001 expectedNice) { str.CastToEnum <NiceYou001>().ShouldBe(expectedNice); }