@Test
public void testDatabaseMgrDisk() {

    TDBInternal.reset();
    // The named disk location
    String DIRx = ConfigTest.getCleanDir();
    Location LOC = Location.create(DIRx);
    FileOps.clearDirectory(DIRx);
    try {
        DatasetGraph dg1 = DatabaseMgr.connectDatasetGraph(LOC);
        DatasetGraph dg2 = DatabaseMgr.connectDatasetGraph(Location.create(LOC.getDirectoryPath()));
        assertSame(dg1, dg2);
        Txn.executeWrite(dg1, ()-> {
            dg1.add(quad1);
        });
        Txn.executeRead(dg2, ()-> {
            assertTrue(dg2.contains(quad1));
        });
    }
    finally {
        FileOps.clearDirectory(DIRx);
    }
}