### Question:
SecHubBatchJobParameterBuilder { public JobParameters buildParams(UUID sechubJobUUID) { Assert.notNull(sechubJobUUID, "sechub job UUID may not be null!"); JobParametersBuilder builder = new JobParametersBuilder(); builder.addString(BATCHPARAM_SECHUB_UUID, sechubJobUUID.toString()); builder.addString("random", UUID.randomUUID().toString()); JobParameters jobParameters = builder.toJobParameters(); return jobParameters; }  JobParameters buildParams(UUID sechubJobUUID);  }### Answer:
@Test public void null_throws_illegal_argument() { expected.expect(IllegalArgumentException.class); builderToTest.buildParams(null); }
@Test public void uuid_contained_in_build_params() { UUID uuid = UUID.randomUUID(); JobParameters params = builderToTest.buildParams(uuid); assertEquals(uuid.toString(), params.getString(SchedulingConstants.BATCHPARAM_SECHUB_UUID)); }
@Test public void random_value_contained_in_build_params() { UUID uuid = UUID.randomUUID(); JobParameters params = builderToTest.buildParams(uuid); assertNotNull(params.getString("random")); }