catch (IOException e)
{
throw new RuntimeException(e);
}
IResource file = new ResourceStreamResource(new FileResourceStream(
new org.apache.wicket.util.file.File(testFile)));
tester.getApplication().getSharedResources().add("file", file);
tester.getRequest().setUrl(
tester.getRequestCycle().urlFor(
tester.getApplication().getSharedResources().get(Application.class, "file", null,