@Test
public void testFindClosestWholeWordToCursorEscapedSpace() {

    LineParser lineParser = new LineParser();
    assertEquals("foo bar", lineParser.parseLine("foo\\ bar", 7).selectedWord().word());
    assertEquals("foo bar", lineParser.parseLine("ls  foo\\ bar", 11).selectedWord().word());
}