DefaultCorrelation implements Correlation { @Override public String getId() { return id; } DefaultCorrelation(String id, Instant start, Instant end, Duration duration); @Override String getId(); @Override Instant getStart(); @Override Instant getEnd(); @Override Duration getDuration();  }
@Test public void testGetters() { DefaultPrecorrelation precorrelation = new DefaultPrecorrelation("id", null); assertThat(precorrelation.getId(), is("id")); }