@Test
public void testAnalysisNoHeaderParameter() {

    final DataSetMetadata metadata = metadataBuilder.metadata().id(UUID.randomUUID().toString()).build();
    createCsvDataSet(metadata, "5_lines.csv");
    contentAnalysis.analyze(metadata.getId());
    assertThat(dataSetMetadataRepository.get(metadata.getId()), notNullValue());
    final DataSetMetadata actual = dataSetMetadataRepository.get(metadata.getId());
    assertThat(actual.getContent().getNbLinesInHeader(), is(1));
    assertThat(actual.getContent().getNbLinesInFooter(), is(0));
    assertThat(actual.getLifecycle().contentIndexed(), is(true));
}