@Test
public void test_readAccessorIds_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String role_name = "testapprole01";
    String responseJson = "{\r\n" + 
    		"  \"keys\": [\r\n" + 
    		"    \"generated-accessor-id1\"\r\n" + 
    		"  ]\r\n" + 
    		"}";
    Response response = getMockResponse(HttpStatus.OK, true, responseJson);
    
    Map<String, Object> responseMap = new HashMap<>();
    ArrayList<String> accessorIds = new ArrayList<String>();
    accessorIds.add("generated-accessor-id1");
    responseMap.put("keys", accessorIds);
    when(ControllerUtil.parseJson(responseJson)).thenReturn(responseMap);
    
    when(reqProcessor.process("/auth/approle/role/accessors/list", "{\"role_name\":\""+role_name+"\"}",token)).thenReturn(response);
    List<String> actualAccessorIds = appRoleService.readAccessorIds(token, role_name);
    assertNotNull(actualAccessorIds);
    assertEquals("generated-accessor-id1", (String)actualAccessorIds.get(0));
}