@Test
public void testCleanGoal() throws GoalConfigurationException, GoalExecutionException {

  // Mock REST services
  this.configureBackendServiceUrl(server);
  this.setupMockServices(this.testApp);
  final String[] args = new String[] {"-goal", "clean"};
  VulasCli.main(args);
  // Check the HTTP calls made
  verifyHttp(server).times(1, method(Method.POST), uri("/backend" + PathBuilder.app(testApp)));
  verifyHttp(server)
      .times(
          2,
          method(Method.POST),
          uri("/backend" + PathBuilder.goalExcecutions(null, null, this.testApp)));
}