public void HypertextLinkForTest() { var s = GetRandom.String(); var items = new[] { new Link("AA", "AAA"), new Link("BB", "BBB") }; var obj = new htmlHelperMock <UnitView>().HypertextLinkFor(s, items); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
[TestMethod] public void SearchControlsForTest() { var obj = new htmlHelperMock <UnitView>().SearchControlsFor(Filter, LinkToFullList, Text); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
public void WebPageTitleForTest() { var obj = new htmlHelperMock <UnitView>().WebPageTitleFor(GetRandom.String()); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
public void EditControlsForEnumTest() { var obj = new htmlHelperMock <TestClass>().EditControlsForEnum(x => x.Gender); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
public void DisplayControlsForTest() { var obj = new htmlHelperMock <UnitView>().DisplayControlsFor(x => x.MeasureId); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
[TestMethod] public void EditControlsForDropDownTest() { var obj = new htmlHelperMock <UnitView>().EditControlsForDropDown(x => x.MeasureId, _items); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }
public void DropDownNavigationMenuForTest() { var obj = new htmlHelperMock <UnitView>().DropDownNavigationMenuFor(name, items); Assert.IsInstanceOfType(obj, typeof(HtmlContentBuilder)); }