Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Should_create_list_items_from_enum() { var items = field.ToSelectListItems().ToList(); Assert.Equal(items[0].Text, "One"); Assert.Equal(items[1].Text, "Two"); Assert.Equal(items[2].Text, "Three"); }