public IMap<String, byte[]> getJobResources(long jobId) {
        return instance.getMap(jobResourcesMapName(jobId));
    }
@Test
    public void when_jobIsComplete_then_resourcesImmediatelyDeleted() {
        jobConfig.addClass(DummyClass.class);
        var job = instance.getJet().newJob(newBatchPipeline(), jobConfig);
        job.join();
        assertThat((Map<?, ?>) jobRepository.getJobResources(job.getId())).isEmpty();
    }