@Override
    public void register(JobManagerRunner jobManagerRunner) {
        Preconditions.checkArgument(
                !isRegistered(jobManagerRunner.getJobID()),
                "A job with the ID %s is already registered.",
                jobManagerRunner.getJobID());
        this.jobManagerRunners.put(jobManagerRunner.getJobID(), jobManagerRunner);
    }
@Test
    void testRegister() {
        final JobID jobId = new JobID();
        testInstance.register(TestingJobManagerRunner.newBuilder().setJobId(jobId).build());
        assertThat(testInstance.isRegistered(jobId)).isTrue();
    }