tester.clickButton("gateway:save");
tester.clickButton("form:ok");
    public void testValidateDescription() {        clickLink("ListGateways");        clickLink("addGateway");        addGateway("bongo");        clickLinkWithText("bongo");        int limit = StringSizeValidator.DEFAULT_MAX_LEN;        char[] descriptionToLong = new char[limit + 1];        Arrays.fill(descriptionToLong, 'x');        char[] descriptionOk = new char[limit];        Arrays.fill(descriptionOk, 'x');        setFormElement("gatewayDescription", new String(descriptionToLong));        tester.clickButton("gateway:save");        // there should be an error now        assertTextPresent("Enter at most");        setFormElement("gatewayDescription", new String(descriptionOk));        tester.clickButton("gateway:save");        SiteTestHelper.assertNoException(tester);        // we should not get error this time        assertTablePresent("list:gateway");            }