@Test
public void test_updateMetadataOnSvcaccPwdReset_successfully() {

    String token = "7QPMPIGiyDFlJkrK3jFykUqa";
    Map<String,String> params = new HashMap<String,String>();
    params.put("type", "initialPasswordReset");
    params.put("path",new StringBuffer(TVaultConstants.SVC_ACC_ROLES_PATH).append("testacc02").toString());
    params.put("value","true");
    Response metaResponse = getMockResponse(HttpStatus.OK, true, "{\"data\":{ \"initialPasswordReset\": true,\"managedBy\": \"snagara14\",\"name\": \"svc_vault_test2\",\"users\": {\"snagara14\": \"sudo\"}}}");
    when(reqProcessor.process(eq("/read"),Mockito.any(),eq(token))).thenReturn(metaResponse);
    Response actualResponse = ControllerUtil.updateMetadataOnSvcaccPwdReset(params, token);
    assertEquals(HttpStatus.OK, actualResponse.getHttpstatus());
    assertEquals(metaResponse, actualResponse);
}