@Test
  public void testGetSimpleParserInputWithJWithSingleQuotes() throws Exception {
    String[] strings = {"command", "--J", "'-Dkey=value value'"};
    Arrays.stream(strings).forEach(tokens::add);
    assertThat(GfshParser.getSimpleParserInputFromTokens(tokens))
        .isEqualTo("command --J \"-Dkey=value value\"");
  }
GfshParserJUnitTest - Includes tests to check the parsing and auto-completion capabilities of
{@link GfshParser}
geode-gfsh/src/test/java/org/apache/geode/management/internal/cli/GfshParserJUnitTest.java