public <T> CommandResultAssert executeAndAssertThat(T instance, String command) {
    CommandResult result = executeCommandWithInstance(instance, command);
    System.out.println("Command Result:");
    System.out.println(result.asString());
    return new CommandResultAssert(result);
  }
@param <T> the type of command class
@param instance an instance of the command class
@param command the command to execute
@return a {@link CommandResult}
@deprecated use {@link #executeAndAssertThat(Object, String)} instead
geode-junit/src/main/java/org/apache/geode/test/junit/rules/GfshParserRule.java