@Test
public void lookupTests() throws Exception {

    assertEquals(FileDatastoreFactory.class, provider.lookupFactory(new URI("file://foo/")).getClass());
    assertEquals(MemoryDatastoreFactory.class, provider.lookupFactory(new URI("memory:///")).getClass());
    assertEquals(GraphDbDatastoreFactory.class, provider.lookupFactory(new URI("graphDb:///")).getClass());
}