public void testPageShouldContain() throws Exception {
testcase.page().shouldContain("before div");
testcase.page().shouldContain("inside div");
testcase.page().shouldContain("after div");
new ExpectedAssertionFailure(testcase) {
protected void run() throws Exception {
page().shouldContain("no such text on the page");
}
};