public NavigationItemBuilderTests() { var viewContext = TestHelper.CreateViewContext(); this.Item = new NavigationItemTestDouble(); this.builder = new NavigationItemBuilderTestDouble(Item, viewContext); }
public NavigationItemImageRendererTests() { item = new NavigationItemTestDouble(); writer = new Mock <HtmlTextWriter>(TextWriter.Null); viewContext = new Mock <ViewContext>(); imageRenderer = new NavigationItemImageRendererDouble(writer.Object, viewContext.Object); }
public NavigationBindingBuilderTests() { item = new NavigationItemTestDouble(); bindingItem = new NavigationBindingTestDouble(); builder = new NavigationBindingBuilderTestsDouble(bindingItem); }
public NavigationItemTests() { item = new NavigationItemTestDouble(); }