// How does the test work: Make sure you have a page, form and form component properly set
// up (getRelativePath() etc.). See #before().
final Page page = tester.getLastRenderedPage();
// Get the form and form component created
final TestForm form = (TestForm)page.get("form");
final TextField<String> textField = (TextField<String>)form.get("input");
// Right after init, the requests and responses cookie lists must be empty
assertEquals(0, getRequestCookies().size());
assertEquals(0, getResponseCookies().size());