@Test
public void nodeStream() {

    Set<String> executionTracesOnPath = diamondGraph.nodeStream()
        .map(DependencyGraphNode::getExecutionTrace)
        .map(ExecutionTrace::toString)
        .collect(Collectors.toSet());
    Assert.assertEquals(
        executionTracesOnPath,
        new HashSet<>(Arrays.asList(
            ":in:x", ":in:y", "/a", "/a:in:ax", "/a:in:ay", "/b", "/b:in:bx", "/b:in:by", "/c", "/c:in:cx",
            "/c:in:cy", ":out:p", ":out:q"
        ))
    );
}