private static Mono<Void> requestDeleteApplication( CloudFoundryClient cloudFoundryClient, String applicationId) { return cloudFoundryClient .applicationsV2() .delete( org.cloudfoundry.client.v2.applications.DeleteApplicationRequest.builder() .applicationId(applicationId) .build()); }
@Test public void delete() { this.applicationId .then( applicationId -> this.cloudFoundryClient .applicationsV2() .delete( DeleteApplicationRequest.builder().applicationId(applicationId).build())) .subscribe(testSubscriber()); }