@Test public void tokenizeParameterStringWithQuotedParam()
{

    final String str1 = "-font Helvetica -pointsize 50 -draw \"circle 100,100 150,150\"";
    final String str2 = "-font Helvetica -pointsize 50 -draw 'circle 100,100 150,150'";
    
    List<String> expectedTokens = Arrays.asList(new String[] {"-font", "Helvetica", "-pointsize", "50",
                                                              "-draw", "circle 100,100 150,150"});
    
    ExecParameterTokenizer t = new ExecParameterTokenizer(str1);
    assertEquals("Wrong tokens", expectedTokens, t.getAllTokens());
    t = new ExecParameterTokenizer(str2);
    assertEquals("Wrong tokens", expectedTokens, t.getAllTokens());
}