@Test public void check_if_anchor_tag_is_rendered() { MarkupWriter writer = mockMarkupWriter(); ModalDialog component = new ModalDialog(); expect(writer.element("a", "href", "#", "id", null)).andReturn(null); replay(); component.beginRender(writer); verify(); }
void beginRender(MarkupWriter writer) { writer.element("a", "href", "#", "id", getClientId()); }
ModalDialog implements ClientElement { void beginRender(MarkupWriter writer) { writer.element("a", "href", "#", "id", getClientId()); } }
ModalDialog implements ClientElement { void beginRender(MarkupWriter writer) { writer.element("a", "href", "#", "id", getClientId()); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); }
ModalDialog implements ClientElement { void beginRender(MarkupWriter writer) { writer.element("a", "href", "#", "id", getClientId()); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); String getClientId(); }
ModalDialog implements ClientElement { void beginRender(MarkupWriter writer) { writer.element("a", "href", "#", "id", getClientId()); } ModalDialog();   ModalDialog(JavaScriptSupport javaScriptSupport,
         ComponentResources resources); String getClientId();  }