@Test
public void readMetadataPartition() throws Exception {

    BdioMetadata metadata = BdioMetadata.createRandomUUID();
    InputStream inputStream = BdioTest.zipJsonBytes(metadata.asNamedGraph());
    graph.io(testBdio(TT.Metadata, TT.id)).readGraph(inputStream, null, null, testPartition("abc"));
    Vertex namedGraph = graph.traversal().V().hasLabel(TT.Metadata).next();
    VertexProperty<String> partition = namedGraph.property(TT.partition);
    assertThat(partition.isPresent()).isTrue();
    assertThat(partition.value()).isEqualTo("abc");
}