@Test public void check_anchor_tag_is_closed_in_after_render() { MarkupWriter writer = mockMarkupWriter(); ModalDialog component = new ModalDialog(); expect(writer.end()).andReturn(null); replay(); component.afterRender(writer); verify(); }
void afterRender(MarkupWriter writer) { writer.end(); }
ModalDialog implements ClientElement { void afterRender(MarkupWriter writer) { writer.end(); } }
ModalDialog implements ClientElement { void afterRender(MarkupWriter writer) { writer.end(); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); }
ModalDialog implements ClientElement { void afterRender(MarkupWriter writer) { writer.end(); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); String getClientId(); }
ModalDialog implements ClientElement { void afterRender(MarkupWriter writer) { writer.end(); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); String getClientId();  }