expect(form.isRewinding()).andReturn(false).anyTimes();
form.setFormFieldUpdating(true);
expect(translator.format(comp, null)).andReturn("r2d2");
translator.renderContributions(comp, writer, cycle);
validator.renderContributions(comp, writer, cycle);
expect(cycle.getEngine()).andReturn(cengine);
expect(cengine.getOutputEncoding()).andReturn("utf-8");
expect(engine.getLink(eq(false), isA(DirectServiceParameter.class))).andReturn(link);