### Question:
HelpCommand extends AbstractCommand { public static HelpCommand helpCommandGradle() { return new HelpCommand(EnvSettings.gradle(), "dbpatch-", "gradle.", "Tasks"); } private  HelpCommand(EnvSettings envSettings, String taskPrefix, String propertyPrefix, String commandTitle); void execute(); static HelpCommand helpCommandGradle(); static HelpCommand helpCommandMaven(); static HelpCommand helpCommandStandalone();  }### Answer:
@Test public void testGradle() throws Exception { HelpCommand helpCommand = HelpCommand.helpCommandGradle(); String out = executeToString(new ExecuteToStringCallbackHelpCmd(helpCommand)); Assert.assertThat(out, CoreMatchers.containsString("Tasks")); Assert.assertThat(out, CoreMatchers.containsString("[gradle.dbpatch.file]")); }