### Question:
UriBuilder { public static String quartz(final String name, final String cronExp) { checkArgument(!isNullOrEmpty(name), "The argument 'name' must not be null or empty."); checkArgument(!isNullOrEmpty(cronExp), "The argument 'cronExp' must not be null or empty."); return "quartz2: + "&stateful=true"; } private  UriBuilder(); static String quartz(final String name, final String cronExp);  }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void testQuartzWithNullParam() { UriBuilder.quartz(null, null); }
@Test public void testQuartz() { String label = "spt"; String cronExp = "0/5 * * * * ?"; String uri = UriBuilder.quartz(label, cronExp); assertThat(uri).isEqualTo("quartz2: }