@Test
public void singleQuote() {

    final CommandParser commandParser = new CommandParser();
    assertEquals(
        asList("a", "b", "c", "1234,76", "\\", "sentence \\' chkdwc"),
        asList(commandParser.toArgs("a 'b' c '1234,76' \\\\ \"sentence\\ \\\\' chkdwc\"")[0].getArgs()));
    assertEquals(
        asList("a", "b", "c", "1234,76", "\\", "sentence \\' chkdwc"),
        asList(commandParser.toArgs("a 'b' c '1234,76' \\\\ 'sentence\\ \\\\\\' chkdwc'")[0].getArgs()));
}