@Test
public void test_deleteAccessPolicy_successfully() {

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