public static VertexFlameGraph createFullFlameGraphFrom(VertexThreadInfoStats sample) {
        EnumSet<Thread.State> included = EnumSet.allOf(Thread.State.class);
        return createFlameGraphFromSample(sample, included);
    }
@Test
    void testLambdaClassNamesCleanUp() {
        Map<ExecutionAttemptID, Collection<ThreadInfoSample>> samplesBySubtask = generateSamples();

        VertexThreadInfoStats sample = new VertexThreadInfoStats(0, 0, 0, samplesBySubtask);

        VertexFlameGraph graph = VertexFlameGraphFactory.createFullFlameGraphFrom(sample);
        int encounteredLambdas = verifyRecursively(graph.getRoot());
        if (encounteredLambdas == 0) {
            fail("No lambdas encountered in the test, cleanup functionality was not tested");
        }
    }