public void label_is_just_the_same() { theGenerator.LabelFor(x => x.Name, profile: ElementConstants.Templates) .ToString().ShouldEqual("<label for=\"Name\">Name</label>"); }
public void label() { theGenerator.LabelFor(x => x.Name).ToString().ShouldEqual("<label for=\"Name\">Name</label>"); theGenerator.LabelFor(x => x.BigName).ToString().ShouldEqual("<label for=\"BigName\">Big Name</label>"); }