@Test
public void testGetGeomUUID() throws Exception {

    final Element metadata = dataManager.getMetadata(this.context, "" + this.metadataId, true, false, false);
    final Element extentEl = Xml.selectElement(metadata, "*//gmd:EX_BoundingPolygon/geonet:element", NAMESPACES);
    final String geomRefId = extentEl.getAttributeValue("ref");
    String uuid = dataManager.getMetadataUuid(String.valueOf(this.metadataId));
    Geometry geom = regionDAO.getGeom(this.context, "metadata:@uuid" + uuid + ":" + geomRefId, false, "EPSG:4326");
    assertNotNull(geom);
    geom = regionDAO.getGeom(this.context, "metadata:@uuid" + uuid + ":920934802934809238", false, "EPSG:4326");
    assertNull(geom);
}