// How does the test work: Make sure you have a page, form and form
// component properly set up (getRelativePath() etc.). See setUp().
final Page page = application.getLastRenderedPage();
// Get the form and form component created
final TestForm form = (TestForm)page.get("form");
final TextField<String> textField = (TextField<String>)form.get("input");
// Make sure a valid cycle is available through RequestCycle.get().
// The RequestCycle's constructor will attach the new cycle to
// the threadLocal retrieved by RequestCycle.get().
// Attached to this cycle must be a valid request and response