      @Test
      public void xmlStringToXMLObjectTest() {


            ClassLoader classLoader = getClass().getClassLoader();
            File xmlFile = new File(classLoader.getResource("metadata/idp/telecom-metadata.xml").getFile());
            try (Scanner scanner = new Scanner(xmlFile)) {
                  String xmlData = scanner.useDelimiter("\\Z").next();
                  Element node = spidIntegrationUtil.xmlStringToElement(xmlData);

                  Assert.assertEquals("md:EntityDescriptor", node.getNodeName());

            } catch (SAXException | IOException | ParserConfigurationException e) {
                  e.printStackTrace();
                  Assert.fail();
            }
      }