@Test
public void shouldBuildMapMeasureHeaders() {

    List<MeasureHeaderBuilder> headersBuilder = new ArrayList<MeasureHeaderBuilder>();
    headersBuilder.add(new MeasureHeaderBuilder().withMeasureIndex(1));
    Map<MeasureId, MeasureHeader> result = listener.buildMapMeasureHeaders(headersBuilder);
    assertThat(result).hasSize(1);
    assertThat(result.get(new MeasureId(1))).isNotNull();
}