### Question:
HelpCommand extends AbstractCommand { public static HelpCommand helpCommandMaven() { return new HelpCommand(EnvSettings.maven(), "dbpatch:", "maven.", "Goals"); } 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 testMaven() throws Exception { HelpCommand helpCommand = HelpCommand.helpCommandMaven(); String out = executeToString(new ExecuteToStringCallbackHelpCmd(helpCommand)); Assert.assertThat(out, CoreMatchers.containsString("Goals")); Assert.assertThat(out, CoreMatchers.containsString("[maven.dbpatch.file]")); }