DataSetLoaderProvider implements LoaderProvider<Document> { @Override public DataSetLoader<Document> xmlLoader() { throw new UnsupportedDataSetFormatException("XML data sets are not supportred for MongoDB"); }  @Override DataSetLoader<Document> xmlLoader(); @Override DataSetLoader<Document> yamlLoader(); @Override DataSetLoader<Document> jsonLoader(); @Override DataSetLoader<Document> csvLoader(); @Override DataSetLoader<Document> xlsLoader();  }
@Test(expected = UnsupportedDataSetFormatException.class) public void testXmlLoaderNotSupported() { LOADER_PROVIDER.xmlLoader(); }