@Test public void getJobKey(@Mock Task task) { String uuid = UUID.randomUUID().toString(); when(task.getKey()).thenReturn(uuid); assertTrue(EqualsBuilder.reflectionEquals(new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP), JobNamer.getJobKey(task))); }
public static JobKey getJobKey(final Task task) { return new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP); }
JobNamer { public static JobKey getJobKey(final Task task) { return new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP); } }
JobNamer { public static JobKey getJobKey(final Task task) { return new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP); } private  JobNamer(); }
JobNamer { public static JobKey getJobKey(final Task task) { return new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP); } private  JobNamer(); static String getTaskKeyFromJobName(final String name); static String getReportKeyFromJobName(final String name); static JobKey getJobKey(final Task task); static JobKey getJobKey(final Report report); static String getTriggerName(final String jobName); }
JobNamer { public static JobKey getJobKey(final Task task) { return new JobKey("taskJob" + task.getKey(), Scheduler.DEFAULT_GROUP); } private  JobNamer(); static String getTaskKeyFromJobName(final String name); static String getReportKeyFromJobName(final String name); static JobKey getJobKey(final Task task); static JobKey getJobKey(final Report report); static String getTriggerName(final String jobName);  }