@Test
public void test_readSecretId_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String responseJson = "{\"data\":{ \"secret_id\": \"5973a6de-38c1-0402-46a3-6d76e38b773c\", \"secret_id_accessor\": \"cda12712-9845-c271-aeb1-833681fac295\"}}";
    Response response =getMockResponse(HttpStatus.OK, true, responseJson);
    String appRoleName = "approle1";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    
    when(reqProcessor.process("/auth/approle/secretid/lookup","{\"role_name\":\""+appRoleName+"\"}",token)).thenReturn(response);
    
    ResponseEntity<String> responseEntityActual = appRoleService.readAppRoleSecretId(token, appRoleName);
    assertEquals(HttpStatus.OK, responseEntityActual.getStatusCode());
    assertEquals(responseEntityExpected, responseEntityActual);
}