@Test
public void test_deleteAppRole_failure_403() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String appRoleId = "selfservicesupportrole";
    String responseJson = "{\"errors\":[\"Access denied: no permission to remove this AppRole\"]}";
    Response response =getMockResponse(HttpStatus.BAD_REQUEST, true, responseJson);
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.BAD_REQUEST).body(responseJson);
    AppRole appRole = new AppRole();
    appRole.setRole_name(appRoleId);
    UserDetails userDetails = getMockUser(true);
    ResponseEntity<String> responseEntityActual = appRoleService.deleteAppRole(token, appRole, userDetails);
    assertEquals(HttpStatus.BAD_REQUEST, responseEntityActual.getStatusCode());
    assertEquals(responseEntityExpected, responseEntityActual);
}