@Test
public void should_return_separator_with_first_more_columns() {

    // given
    final Separator semiColonSeparator = new Separator(';');
    List<Pair<String, Type>> semiColonHeader = new ArrayList<>();
    semiColonHeader.add(new Pair<>("First", Type.STRING));
    semiColonSeparator.setHeaders(semiColonHeader);
    final Separator commaSeparator = new Separator(',');
    List<Pair<String, Type>> commaHeader = new ArrayList<>();
    commaHeader.add(new Pair<>("First", Type.STRING));
    commaHeader.add(new Pair<>("Last", Type.STRING));
    commaSeparator.setHeaders(commaHeader);
    // when
    SeparatorAnalyzer separatorAnalyzer = new SeparatorAnalyzer(3, Collections.emptyList());
    // then
    assertTrue(separatorAnalyzer.compare(commaSeparator, semiColonSeparator) < 0);
}