@Test
public void should_guess_valid_separator_when_most_likely_separator_is_not_valid() throws IOException {

    try (InputStream inputStream = this.getClass().getResourceAsStream("tdp-863.csv")) {
        // We do know the format and therefore we go directly to the CSV schema guessing
        SchemaParser.Request request = getRequest(inputStream, "#4");
        request.getMetadata().setEncoding("UTF-8");
        csvSchemaParser.parse(request);
        final Map<String, String> parameters = request.getMetadata().getContent().getParameters();
        char actual = parameters.get(CSVFormatFamily.SEPARATOR_PARAMETER).charAt(0);
        assertEquals(';', actual);
    }
}