public void GetChoiceText_Test() { var itm = new CustomItem(); itm.CustomChoice = TheChoice.Choice2; var fieldName = itm.GetChoice(i => i.CustomChoice); Assert.That(fieldName, Is.EqualTo("The Choice Number Two")); itm.CustomChoice = TheChoice.Choice3; fieldName = itm.GetChoice(i => i.CustomChoice); Assert.That(fieldName, Is.EqualTo("Choice3")); }