@Test
public void should_return_char_with_more_priority() {

    // given
    final Separator semiColonSeparator = new Separator(';');
    final Separator commaSeparator = new Separator(',');
    final Separator spaceSeparator = new Separator(' ');
    final Separator tabulationSeparator = new Separator('\t');
    final Separator invalidSeparator = new Separator('A');
    // when
    SeparatorAnalyzer separatorAnalyzer = new SeparatorAnalyzer(1, Collections.emptyList());
    // then
    assertTrue(separatorAnalyzer.compare(semiColonSeparator, commaSeparator) < 0);
    assertTrue(separatorAnalyzer.compare(commaSeparator, tabulationSeparator) < 0);
    assertTrue(separatorAnalyzer.compare(tabulationSeparator, spaceSeparator) < 0);
    assertTrue(separatorAnalyzer.compare(spaceSeparator, invalidSeparator) < 0);
}