public static ArchivedExecutionGraph createSparseArchivedExecutionGraph(
            JobID jobId,
            String jobName,
            JobStatus jobStatus,
            @Nullable JobType jobType,
            @Nullable Throwable throwable,
            @Nullable JobCheckpointingSettings checkpointingSettings,
            long initializationTimestamp) {
        return createSparseArchivedExecutionGraph(
                jobId,
                jobName,
                jobStatus,
                jobType,
                Collections.emptyMap(),
                Collections.emptyList(),
                throwable,
                checkpointingSettings,
                initializationTimestamp);
    }
@Test
    void testCheckpointSettingsArchiving() {
        final CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration =
                CheckpointCoordinatorConfiguration.builder().build();

        final ArchivedExecutionGraph archivedGraph =
                ArchivedExecutionGraph.createSparseArchivedExecutionGraph(
                        new JobID(),
                        "TestJob",
                        JobStatus.INITIALIZING,
                        JobType.STREAMING,
                        null,
                        new JobCheckpointingSettings(checkpointCoordinatorConfiguration, null),
                        System.currentTimeMillis());

        assertContainsCheckpointSettings(archivedGraph);
    }