@Test
ublic void testCurlyBrackets() {

   LineParser lineParser = new LineParser();
   ParsedLine line = lineParser.parseLine("foo bar {baz 12345} ", 19, true);
   assertEquals("foo", line.words().get(0).word());
   assertEquals(0, line.words().get(0).lineIndex());
   assertEquals("bar", line.words().get(1).word());
   assertEquals(4, line.words().get(1).lineIndex());
   assertEquals("{baz 12345}", line.words().get(2).word());
   assertEquals(8, line.words().get(2).lineIndex());
   assertEquals("{baz 12345}", line.selectedWord().word());
   assertEquals(11, line.wordCursor());
   line = lineParser.parseLine("cmd1 --option1=bar{x1; x2}", 19, true);
   assertEquals("cmd1", line.words().get(0).word());
   assertEquals("--option1=bar{x1; x2}", line.words().get(1).word());
   line = lineParser.parseLine("cmd1 --option1=bar{x1; x2}", 19, false);
   assertEquals("--option1=bar{x1;", line.words().get(1).word());
   line = lineParser.parseLine("cmd1 --option1=bar{x1; x2 ", 19, true);
   assertEquals("cmd1", line.words().get(0).word());
   assertEquals("--option1=bar{x1; x2 ", line.words().get(1).word());
   assertEquals(ParsedWord.Status.OPEN_BRACKET, line.words().get(1).status());
}