@Test
public void test_deleteAccessPolicy_failure_500() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String accessId = "test-access-policy";
    String responseJson = "";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(responseJson);
    Response response =getMockResponse(HttpStatus.INTERNAL_SERVER_ERROR, false, "");
    when(reqProcessor.process("/access/delete","{\"accessid\":\""+accessId+"\"}",token)).thenReturn(response);
    ResponseEntity<String> responseEntity = accessService.deletePolicyInfo(token, accessId);
    assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, responseEntity.getStatusCode());
}