@Test
public void testFindAllTernaryQuotedWords() {

    LineParser lineParser = new LineParser();
    ParsedLine line = lineParser.parseLine("\"\"  \"\"");
    assertEquals("  ", line.words().get(0).word());
    line = lineParser.parseLine("\"\"  foo bar \"\"");
    assertEquals("  foo bar ", line.words().get(0).word());
    line = lineParser.parseLine("\"\"  \"foo bar\" \"\"");
    assertEquals("  \"foo bar\" ", line.words().get(0).word());
    line = lineParser.parseLine("gah bah-bah  \"\"  \"foo bar\" \"\" boo");
    assertEquals("gah", line.words().get(0).word());
    assertEquals("bah-bah", line.words().get(1).word());
    assertEquals("  \"foo bar\" ", line.words().get(2).word());
    assertEquals("boo", line.words().get(3).word());
    line = lineParser.parseLine(" \"\"/s-ramp/wsdl/Operation[xp2:matches(@name, 'submit.*')]\"\"");
    assertEquals("/s-ramp/wsdl/Operation[xp2:matches(@name, 'submit.*')]", line.words().get(0).word());
    line = lineParser.parseLine(" \"\"/s-ramp/ext/${type} \\ \"\"");
    assertEquals("/s-ramp/ext/${type} \\ ", line.words().get(0).word());
    line = lineParser.parseLine(" 'test=\"some thing\"' ");
    assertEquals("test=\"some thing\"", line.words().get(0).word());
}