@Test
public void testTDBFactory2() {

    // The unnamed location is unique each time.
    DatasetGraph dg1 = TDBFactory.createDatasetGraph(Location.mem());
    DatasetGraph dg2 = TDBFactory.createDatasetGraph(Location.mem());
    dg1.add(quad1);
    assertFalse(dg2.contains(quad1));
}