XPath xpath = contentA.getXPath();
TextPElement lastPara = (TextPElement) xpath.evaluate("//text:p[last()]", contentA, XPathConstants.NODE);
addFrameForEmbeddedDoc(contentA, lastPara, "DOCB");
OdfDocument docB = odtRootDoc.loadSubDocument("DOCB/");
Assert.assertNotNull(docB);
Assert.assertNull(odtRootDoc.loadSubDocument("DOCA/DOCB/"));
docB.newImage(ResourceUtilities.getURI(TEST_PIC_ANOTHER));
OdfTable table1 = docB.getTableList().get(0);
table1.setTableName("NewTable");
updateFrameForEmbeddedDoc(contentA, "./DOCB", "DOCA/DOCB");
//if user want to save the docA with the side by side embedded document