@Test
public void should_return_separator_with_more_reliable_header_info() {

    // given
    final Separator semiColonSeparator = new Separator(';');
    final Separator commaSeparator = new Separator(',');
    commaSeparator.setHeaderInfoReliable(true);
    semiColonSeparator.setHeaderInfoReliable(false);
    // when
    SeparatorAnalyzer separatorAnalyzer = new SeparatorAnalyzer(3, Collections.emptyList());
    // then
    assertTrue(separatorAnalyzer.compare(commaSeparator, semiColonSeparator) < 0);
}