@Test
public void quotes() {

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