@Test
public void testGetInstance() {
//get the text content contains "cell"
TextNavigation search = new TextNavigation("cell", odtdoc);
while (search.hasNext()) {
TextSelection item = (TextSelection) search.getCurrentItem();
OdfElement containerEle = item.getContainerElement();
if (containerEle instanceof OdfTextParagraph) {
Node ele = containerEle.getParentNode();
if (ele instanceof TableTableCellElement) {
OdfTableCell cell = OdfTableCell.getInstance((TableTableCellElementBase) ele);
Assert.assertTrue(cell.getStringValue().contains("cell"));