IdUtils { public static final String id(EventType type) { return String.format("%s-%s", type, postfix()); }  static final String id(EventType type); static final String id(String parent, EventType type);  }
@Test public void testIdEventType() { assertThat(IdUtils.id(EventType.ACTION), is(not(nullValue()))); }
@Test public void testIdStringEventType() { assertThat(IdUtils.id(IdUtils.id(EventType.ACTION), EventType.ACTION), is(not(nullValue()))); }