### Question:
LoggingController { @Operation(summary = "Disable Debug Mode", description = "Removes DEBUG log level from Chaos Engine internal classes.", responses = { @ApiResponse(content = @Content(mediaType = "text/plain", schema = @Schema(implementation = String.class))) }) @DeleteMapping public String clearDebugMode () { loggingManager.clearDebugMode(); return "ok"; }  @Operation(summary = "Enable Debug Mode", description = "Increases the log level for Chaos Engine internal classes to DEBUG", responses = { @ApiResponse(content = @Content(mediaType = "text/plain", schema = @Schema(implementation = String.class))) }) @PostMapping({ "", "/{timeout}" }) String setDebugMode(@PathVariable(required = false)
                                @Parameter(description = "Duration before automatically reverting logs. Formatted as \"PT[nH][nM][nS]\".",
                                           example = "PT1H15M45S") Duration timeout); @Operation(summary = "Disable Debug Mode", description = "Removes DEBUG log level from Chaos Engine internal classes.", responses = { @ApiResponse(content = @Content(mediaType = "text/plain", schema = @Schema(implementation = String.class))) }) @DeleteMapping String clearDebugMode(); static final String LOGGING; }### Answer:
@Test @WithAdmin public void clearDebugModeAuthenticated () throws Exception { clearDebugMode(status().isOk(), times(1)); }
@Test @WithAnonymousUser public void clearDebugModeUnauthenticated () throws Exception { clearDebugMode(status().isNotFound(), never()); }
@Test @WithGenericUser public void clearDebugModeGenericAuthenticated () throws Exception { clearDebugMode(status().isForbidden(), never()); }