assertEquals(result, PAPIConstants.SKIP_ELEMENT_BODY);
String value = "{layout:getPaneInstance('" + paneName + "',0)}";
result = element.checkPaneInstances(pageContext, value, null);
assertEquals(result, PAPIConstants.PROCESS_ELEMENT_BODY);
PaneInstance captionPaneInstance = (PaneInstance) PrivateAccessor.getField(
element, "captionPaneInstance");
PaneInstance entryPaneInstance = (PaneInstance) PrivateAccessor.getField(
element, "entryPaneInstance");
assertNotNull(entryPaneInstance);
assertNotNull(captionPaneInstance);
assertTrue("Panes should be exactly the same",