@Test
public void testTokenParsingIncompleteQuote() throws Exception {

    final String s = "\"stuff and more stuff  ";
    final CharArrayBuffer raw = createBuffer(s);
    final Tokenizer.Cursor cursor = new Tokenizer.Cursor(0, s.length());
    final StringBuilder strbuf1 = new StringBuilder();
    parser.copyQuotedContent(raw, cursor, strbuf1);
    Assert.assertEquals("stuff and more stuff  ", strbuf1.toString());
}