public void CallingBuildShouldRunTheConventionsAsIfItWasAnotherType() { var model = new ReusingViewModel(); var helper = MvcMockHelpers.GetHtmlHelper(model); var tag = helper.Input(x => x.AnimalId); tag.TagName().ShouldBe("select"); Console.WriteLine(tag); }
public void CallingBuildShouldRunTheConventionsAsIfItWasAnotherType() { var model = new ReusingViewModel(); var helper = MvcMockHelpers.GetHtmlHelper(model); var tag = helper.Input(x => x.AnimalId); tag.TagName().ShouldBe("select"); Console.WriteLine(tag); }