MemberCommandService extends org.apache.geode.management.cli.CommandService { @Override public Result processCommand(String commandString) { return this.processCommand(commandString, EMPTY_ENV); } MemberCommandService(InternalCache cache); @VisibleForTesting  MemberCommandService(InternalCache cache, CommandProcessor commandProcessor); @Override Result processCommand(String commandString); @Override Result processCommand(String commandString, Map<String, String> env); @Override @Deprecated org.apache.geode.management.cli.CommandStatement createCommandStatement(
      String commandString); @Override @Deprecated org.apache.geode.management.cli.CommandStatement createCommandStatement(
      String commandString, Map<String, String> env); @Override boolean isUsable();  }
@Test public void processCommandError() throws Exception { @SuppressWarnings("deprecation") MemberCommandService memberCommandService = new MemberCommandService(cache, commandProcessor); Result result = memberCommandService.processCommand("fake command"); assertThat(result.getStatus()).isEqualTo(Result.Status.ERROR); }