DataSetLoaderProvider implements LoaderProvider<Graph<Node, Edge>> { @Override public DataSetLoader<Graph<Node, Edge>> csvLoader() { throw new UnsupportedDataSetFormatException("CSV data sets are not supportred for Neo4j"); } DataSetLoaderProvider(final GraphElementFactory graphElementFactory); @Override DataSetLoader<Graph<Node, Edge>> xmlLoader(); @Override DataSetLoader<Graph<Node, Edge>> yamlLoader(); @Override DataSetLoader<Graph<Node, Edge>> jsonLoader(); @Override DataSetLoader<Graph<Node, Edge>> csvLoader(); @Override DataSetLoader<Graph<Node, Edge>> xlsLoader();  }
@Test(expected = UnsupportedDataSetFormatException.class) public void testCsvLoaderNotSupported() { LOADER_PROVIDER.csvLoader(); }