public void FirstOption_should_prepend_new_option_at_top() { var tag = new SelectTag(); tag.Option("a", "1"); tag.TopOption("_", "0"); tag.Children[0].Text().ShouldEqual("_"); tag.Children[1].Text().ShouldEqual("a"); }
public void FirstOption_should_prepend_new_option_at_top() { var tag = new SelectTag(); tag.Option("a", "1"); tag.TopOption("_", "0"); tag.Children[0].Text().ShouldEqual("_"); tag.Children[1].Text().ShouldEqual("a"); }