### Question:
ListPartialTemplatesCommand implements Command { @Override public void execute(Arguments arguments, PrintStream printStream) throws Exception { printStream.print(CliUtil.getPrettyJson(adminClient.getAllPartialTemplates())); } @Inject private  ListPartialTemplatesCommand(AdminClient adminClient); @Override void execute(Arguments arguments, PrintStream printStream); @Override String getPattern(); @Override String getDescription();  }### Answer:
@Test public void executeTest() throws IOException, InvalidCommandException { CLI.execute(INPUT, System.out); Mockito.verify(ADMIN_CLIENT).getAllPartialTemplates(); }