JobMutexGroup { public Set<String> getJobTypes() { return jobTypes; } JobMutexGroup(final String groupName, final String jobType, final String... moreJobTypes); String getGroupName(); Set<String> getJobTypes(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void shouldAddAllJobTypes() { final JobMutexGroup group = new JobMutexGroup("Product Import Jobs", "FullImport", "DeltaImport"); assertThat(group.getJobTypes(), contains("FullImport", "DeltaImport")); }