code review changes

This commit is contained in:
Mahmoud Ben Hassine
2018-07-19 17:13:15 +02:00
committed by Michael Minella
parent 24b8d72a7a
commit 276acd1960
6 changed files with 30 additions and 16 deletions

View File

@@ -29,6 +29,11 @@ public class DefaultJobKeyGeneratorTests {
jobKeyGenerator = new DefaultJobKeyGenerator();
}
@Test(expected = IllegalArgumentException.class)
public void testNullParameters() {
jobKeyGenerator.generateKey(null);
}
@Test
public void testMixedParameters() {
JobParameters jobParameters1 = new JobParametersBuilder().addString(