@Test public void should_generate_full_ops_caption_tag(){ caption.setId("fullId"); caption.addCssClass("classy"); caption.addCssStyle("styly"); caption.setTitle("titly"); caption.addContent("valued"); assertThat(caption.toHtml().toString()).isEqualTo("<caption id=\"fullId\" class=\"classy\" style=\"styly\" title=\"titly\">valued</caption>"); }
public void setTitle(String title) { this.title = title; }
HtmlCaption extends HtmlTagWithContent { public void setTitle(String title) { this.title = title; } }
HtmlCaption extends HtmlTagWithContent { public void setTitle(String title) { this.title = title; } HtmlCaption(); }
HtmlCaption extends HtmlTagWithContent { public void setTitle(String title) { this.title = title; } HtmlCaption(); String getTitle(); void setTitle(String title); }
HtmlCaption extends HtmlTagWithContent { public void setTitle(String title) { this.title = title; } HtmlCaption(); String getTitle(); void setTitle(String title);  }