in component-test/src/main/java/org/apache/fineract/cn/notification/EmailApiDocumentation.java [177:188]
public void documentDeleteEmailConfiguration() throws Exception {
final EmailConfiguration randomConfiguration = DomainObjectGenerator.emailConfiguration();
notificationManager.createEmailConfiguration(randomConfiguration);
super.eventRecorder.wait(NotificationEventConstants.DELETE_EMAIL_CONFIGURATION, randomConfiguration.getIdentifier());
this.mockMvc.perform(delete("/configuration/email/" + randomConfiguration.getIdentifier())
.accept(MediaType.APPLICATION_JSON_VALUE)
.contentType(MediaType.APPLICATION_JSON_VALUE))
.andExpect(status().isOk())
.andDo(document("document-delete-email-configuration", preprocessResponse(prettyPrint())));
}