papiFactory.getPAPIElementFactory("nativemarkup");
assertNotNull("Unknown element name, nativemarkup check testcase.",
factory);
PAPIElement element = factory.createPAPIElement();
NativeMarkupAttributes attributes = (NativeMarkupAttributes)
factory.createElementSpecificAttributes();
attributes.setPane("pane");
attributes.setTargetLocation("pane");
// Process start element, this is the thing which does
// the work.
int result = element.elementStart(getCurrentRequestContext(), attributes);
assertEquals("Open did not return PROCESS_ELEMENT_BODY as expected",
result, PROCESS_ELEMENT_BODY);
// Push the element on the stack so that we can close it later.