3637383940414243444546
assertThat(res, hasToString("<p></p>")); } public void paragraph_id() { HtmlParagraph ui = Html.p() /**/.id("my-id") /**/.text("Cool text!") .end(); assertThat(ui, hasToString(equalTo("<p id=\"my-id\">Cool text!</p>")));
4546474849505152535455
assertThat(ui, hasToString(equalTo("<p id=\"my-id\">Cool text!</p>"))); } public void paragraph_text() { HtmlParagraph ui = Html.p() /**/.text("Cool text!") .end(); assertThat(ui, hasToString(equalTo("<p>Cool text!</p>")));
5455565758596061626364
assertThat(ui, hasToString(equalTo("<p>Cool text!</p>"))); } public void paragraph_style_class() { HtmlParagraph ui = Html.p() /**/.styleClass("strong") /**/.text("Cool text!") .end();
3031323334353637383940
*/ @Test public class HtmlParagraphTest { public void paragraph() { HtmlParagraph ui = p().end(); assertThat(ui, hasToString(equalTo("<p></p>"))); }
3839404142434445464748
assertThat(ui, hasToString(equalTo("<p></p>"))); } public void paragraph_id() { HtmlParagraph ui = Html.p() /**/.id("my-id") /**/.text("Cool text!") .end(); assertThat(ui, hasToString(equalTo("<p id=\"my-id\">Cool text!</p>")));
4748495051525354555657
5657585960616263646566