TextField component = newInstance(TextField.class, new Object[]
{ "name", "fred", "translatedFieldSupport", tfs,
"validatableFieldSupport", vfs, "value",
new Integer(10), "hidden", Boolean.TRUE });
expect(cycle.renderStackPush(component)).andReturn(component);
trainGetForm(cycle, form);
trainWasPrerendered(form, writer, component, false);
trainGetDelegate(form, delegate);