@Test
public void test_deleteSecretIds() throws Exception {

rayList<String> failedAccessorIds = new ArrayList<String>();
rayList<String> deletedAccessorIds = new ArrayList<String>();
letedAccessorIds.add("deleted01");
iledAccessorIds.add("failed01");
ringBuilder responseMessage = new StringBuilder("Deletion of secret_ids completed as: ");
ring vaultToken = "5PDrOhsy4ig8L3EpsJZSLAMg";
ring role_name = "testapprole01";
pRoleAccessorIds appRoleAccessorIds = new AppRoleAccessorIds();
pRoleAccessorIds.setRole_name(role_name);
pRoleAccessorIds.setAccessorIds(new String[] {"deleted01", "failed01"});
 (!CollectionUtils.isEmpty(deletedAccessorIds)) {
esponseMessage.append(String.format("Succssfully deleted the secret_ids for the following accessor_ids: [%s]. ",StringUtils.join(deletedAccessorIds.toArray(), ",")));
 (!CollectionUtils.isEmpty(failedAccessorIds)) {
esponseMessage.append(String.format("Failed to delete the secret_ids for the following accessor_ids: [%s]",StringUtils.join(failedAccessorIds.toArray(), ",")));
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseMessage.toString());
    when(selfSupportService.deleteSecretIds(eq(vaultToken), Mockito.any(), Mockito.any())).thenReturn(responseEntityExpected);
    mockMvc.perform(MockMvcRequestBuilders.delete("/v2/ss/approle/"+role_name+"/secret_id").content(new ObjectMapper().writeValueAsString(appRoleAccessorIds))
            .header("vault-token", vaultToken)
            .header("Content-Type", "application/json;charset=UTF-8"))
    		.andExpect(status().isOk())
    		.andExpect(content().string(containsString(responseMessage.toString())));
}