@Test
public void test_readAppRoleRoleId_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String responseJson = "{\r\n" + 
    		"  \"data\": {\r\n" + 
    		"    \"role_id\": \"generated-role-id\"\r\n" + 
    		"  }\r\n" + 
    		"}";
    Response response =getMockResponse(HttpStatus.OK, true, responseJson);
    String appRoleName = "approle1";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    
    when(reqProcessor.process("/auth/approle/role/readRoleID","{\"role_name\":\""+appRoleName+"\"}",token)).thenReturn(response);
    
    ResponseEntity<String> responseEntityActual = appRoleService.readAppRoleRoleId(token, appRoleName);
    assertEquals(HttpStatus.OK, responseEntityActual.getStatusCode());
    assertEquals(responseEntityExpected, responseEntityActual);
}