public XmlConfiguration(final LoggerContext loggerContext, final ConfigurationSource configSource) {
      super(loggerContext, configSource);
   }
@Test
   public void testXmlConfiguration() throws IOException {
      Path path = getConfigPath().resolve("log4j2-test.xml");
      try (InputStream is = Files.newInputStream(path)) {
         ConfigurationSource configurationSource = new ConfigurationSource(is, path.toFile());
         LoggerContext context = new LoggerContext("test");
         XmlConfiguration xmlConfiguration = new XmlConfiguration(context, configurationSource);
         xmlConfiguration.initialize();
         assertEquals("InfinispanTestConfig", xmlConfiguration.getName());
      }
   }