CloudHubUnDeployMojo extends AbstractCloudHubMojo { @Override public void execute() throws MojoExecutionException { getLog().info("Undeploying"); final CloudHubAdapter domainConnection = createDomainConnection(); domainConnection.undeploy(this.maxWaitTime); }  @Override void execute();  }
@Test public void testExecute() throws Exception { mojo.execute(); }