### Question:
GetPartialTemplateCommand implements Command { @Override public void execute(Arguments arguments, PrintStream printStream) throws Exception { String name = arguments.get(NAME_KEY); printStream.print(CliUtil.getPrettyJson(adminClient.getPartialTemplate(name))); } @Inject private  GetPartialTemplateCommand(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).getPartialTemplate(Mockito.eq("template")); }