try {
String filePath = ResourceUtilities.getAbsolutePath(TEST_FILE);
FileInputStream fStream = new FileInputStream(new File(filePath));
GraphicsDocument gdoc = GraphicsDocument.loadDocument(fStream);
Assert.assertNotNull(gdoc);
OfficeDrawingElement officeEle = gdoc.getContentRoot();
Assert.assertNotNull(officeEle);
Assert.assertEquals("office:drawing", officeEle.getNodeName());
} catch (Exception e) {
LOG.log(Level.SEVERE, e.getMessage(), e);
Assert.fail(e.getMessage());
}