@Test
public void test_deleteSecretId_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String appRoleId = "approle1";
    AppRoleNameSecretId appRoleNameSecretId = new AppRoleNameSecretId(appRoleId, "5973a6de-38c1-0402-46a3-6d76e38b773c");
    Response response =getMockResponse(HttpStatus.NO_CONTENT, true, "");
    String jsonStr = "{\"role_name\":\"approle1\",\"secret_id\":\"5973a6de-38c1-0402-46a3-6d76e38b773c\"}";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"messages\":[\"SecretId for AppRole deleted\"]}");
    
    when(JSONUtil.getJSON(appRoleNameSecretId)).thenReturn(jsonStr);
    when(reqProcessor.process("/auth/approle/secret/delete",jsonStr,token)).thenReturn(response);
    ResponseEntity<String> responseEntityActual = appRoleService.deleteSecretId(token, appRoleNameSecretId);
    assertEquals(HttpStatus.OK, responseEntityActual.getStatusCode());
    assertEquals(responseEntityExpected, responseEntityActual);
    
}