@Test
public void test_deleteIAMRole_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    Response response = getMockResponse(HttpStatus.NO_CONTENT, true, "");
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"messages\":[\"IAM Role deleted \"]}");
    when(reqProcessor.process("/auth/aws/iam/roles/delete","{\"role\":\"mytestawsrole\"}",token)).thenReturn(response);
    ResponseEntity<String> responseEntity = awsIamAuthService.deleteIAMRole(token, "mytestawsrole");
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}