TestMarinerPageContext context = new TestMarinerPageContext();
protocol.setMarinerPageContext(context);
XMLReader reader = DOMUtilities.getReader();
XFImplicitAttributes attributes = new XFImplicitAttributes();
final String xfName = "xfImplicitAtributesName";
final String xfValue = "xfImplicitAtributesValue";
attributes.setName(xfName);
attributes.setValue(xfValue);
XFFormAttributes formAttributes = new XFFormAttributes();
String name = "This is the name";
formAttributes.setName(name);
Form form = new Form(new CanvasLayout());
FormInstance formInstance = new FormInstance(
NDimensionalIndex.ZERO_DIMENSIONS);
formInstance.setFormat(form);
formAttributes.setFormData(formInstance);
attributes.setFormAttributes(formAttributes);
attributes.setFormData(formInstance);
protocol.doImplicitValue(attributes);
String actual = DOMUtilities.toString(
buffer.getRoot(), protocol.getCharacterEncoder());