@Test
  public void testGetSimpleParserInput() throws Exception {
    String[] strings = {"command", "--option1", "value1", "--option2", "'test value'"};
    Arrays.stream(strings).forEach(tokens::add);
    assertThat(GfshParser.getSimpleParserInputFromTokens(tokens))
        .isEqualTo("command --option1 value1 --option2 'test 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