@Test
public void readIdOnlyMetadata() throws Exception {

    BdioMetadata metadata = BdioMetadata.createRandomUUID();
    InputStream inputStream = BdioTest.zipJsonBytes(metadata.asNamedGraph());
    graph.io(testBdio(TT.Metadata, TT.id)).readGraph(inputStream, null, null);
    Vertex namedGraph = graph.traversal().V().hasLabel(TT.Metadata).next();
    assertThat(namedGraph.property(TT.id).orElse(null)).isEqualTo(metadata.id());
}