@Test
public void test_listAllAccessPolicy_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String responseJson = "{\"policies\":[\"test-access-policy\"]}";
    Response response =getMockResponse(HttpStatus.OK, true, responseJson);
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    when(reqProcessor.process("/access/list","{}",token)).thenReturn(response);
    ResponseEntity<String> responseEntity = accessService.listAllPolices(token);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}