@Test
public void identifyRootProject() throws IOException {

    InputStream inputStream = new NamedGraphBuilder()
            .project(p -> {})
            .build();
    BlackDuckIo bdio = graph.io(testBdio(TT.Metadata, TT.root));
    bdio.readGraph(inputStream, null, null);
    spi(bdio, graph.traversal().withStrategies(testImplicitConstant())).identifyRoot();
    GraphTraversalSource g = graph.traversal();
    List<Vertex> roots = g.V().hasLabel(TT.Metadata).out(TT.root).toList();
    assertThat(roots).hasSize(1);
    assertThat(roots.get(0).label()).isEqualTo(Bdio.Class.Project.name());
}