source: class ParserToModelListenerTest {
  
      private ParserToModelListener listener;
  
      @Test
      public void shouldBuildMapMeasureHeaders() {
  
target:         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();
      }
  
  }