@Test
public void readFileWithAndWithoutFingerprint() throws Exception {

    // Kind of an edge case for the optimized Sqlg reading
    BdioMetadata metadata = BdioMetadata.createRandomUUID();
    File fileModel0 = new File(BdioObject.randomId());
    File fileModel1 = new File(BdioObject.randomId());
    File fileModel2 = new File(fileModel1.id());
    fileModel1.fingerprint(singleton(Digest.of("sha1", "2d05a5f70ffb6fbf6fcbf65bb6f4cd48a8b2592a")));
    InputStream inputStream = BdioTest.zipJsonBytes(
            metadata.asNamedGraph(Lists.newArrayList(fileModel0, fileModel1)),
            metadata.asNamedGraph(Lists.newArrayList(fileModel2), JsonLdConsts.ID));
    graph.io(testBdio(TT.Metadata, TT.id)).readGraph(inputStream, null, null);
}