public void TestGetEnumSelectListItemGivenEnumWithNoDisplayNameSet() { var testHtml = new TestHtml <IndexViewModel>(); var expected = new SelectListItem("TestWithoutDisplayName", "2"); var actual = testHtml.GetEnumSelectListItem <IndexViewModel, IsAnEnum>(IsAnEnum.TestWithoutDisplayName); expected.IsSame(actual); }