- ResponseEntity<ErrorTransport> errorResponse = testRestTemplateStandardRole().exchange(uri, HttpMethod.GET,
- null, ErrorTransport.class);
- logger.debug("{}", errorResponse.getBody().getError().toString());
- Assertions.assertTrue(errorResponse.getStatusCode().is5xxServerError());
+ ResponseEntity<String> response = testRestTemplateStandardRole().exchange(uri, HttpMethod.GET, null,
+ String.class);
+ logger.debug("{}", response.getBody().toString());
+ Assertions.assertTrue(response.getStatusCode().is5xxServerError());