assertThat(message.getTextContent(), matcher);
}
protected HtmlPage submit(HtmlPage page) throws IOException {
HtmlInput input = getInput(page);
input.fireEvent("blur");
return page;
}
protected HtmlInput getInput(HtmlPage page) {
HtmlForm htmlForm = page.getFormByName("form");