tester.assertVisible("responseWindow");
IModel model = tester.getLastRenderedPage().getModel();
assertTrue(model.getObject() instanceof DemoRequest);
DemoRequest req = (DemoRequest) model.getObject();
assertEquals(demoDir, req.getDemoDir());
String requestFileName = req.getRequestFileName();
String requestUrl = req.getRequestUrl();
String requestBody = req.getRequestBody();
assertEquals(requestName, requestFileName);
assertNotNull(requestUrl);
assertNull(requestBody);
}