EmbeddedNeo4jXOProvider implements XODatastoreProvider { @Override public Datastore<?, ?, ?, ?, ?> createDatastore(XOUnit xoUnit) { URI uri = xoUnit.getUri(); DatastoreFactory datastoreFactory = lookupFactory(uri); try { return datastoreFactory.createGraphDatabaseService(uri, xoUnit.getProperties()); } catch (MalformedURLException e) { throw new XOException("Cannot create datastore.", e); } }  @Override Datastore<?, ?, ?, ?, ?> createDatastore(XOUnit xoUnit); @Override Class<? extends Enum<? extends ConfigurationProperty>> getConfigurationProperties();  }
@Test public void createDsTests() throws Exception { assertEquals(EmbeddedNeo4jDatastore.class, provider.createDatastore(unit("memory: }