IRequestCycle cycle = (IRequestCycle) cyclec.getMock();
IMarkupWriter writer = newWriter();
IAsset image = newAsset(cycle, "disabled-image-url");
Creator creator = new Creator();
ImageSubmit submit = (ImageSubmit) creator.newInstance(ImageSubmit.class, new Object[]
{ "disabledImage", image, "disabled", Boolean.TRUE });
train(cyclec, cycle, form);
form.getDelegate();