in component-test/src/main/java/org/apache/fineract/cn/provisioner/application/ApplicationsApiDocumentation.java [162:176]
public void documentDeleteApplication ( ) throws Exception {
Application randApplication = new Application();
randApplication.setName("random-comp-test-app");
randApplication.setDescription("Random Component Test Application");
randApplication.setHomepage("http://www.random-component.test");
randApplication.setVendor("Random Component Test");
provisioner.createApplication(randApplication);
this.mockMvc.perform(delete("/applications/" + randApplication.getName())
.accept(MediaType.APPLICATION_JSON_VALUE)
.contentType(MediaType.APPLICATION_JSON_VALUE))
.andExpect(status().isAccepted())
.andDo(document("document-delete-application"));
}