293031323334353637
*/ @Test public class HtmlSpanText { public void span() { HtmlSpan ui = Html.span().end(); assertThat(ui, hasToString(equalTo("<span></span>"))); }
3536373839404142434445
assertThat(ui, hasToString(equalTo("<span></span>"))); } public void span_text() { HtmlSpan ui = Html.span() .text("Span") .end(); assertThat(ui, hasToString(equalTo("<span>Span</span>"))); }