Criterion serviceIdCriterion = Restrictions.eq("serviceId", 1l);
restrictionsList2.add(serviceIdCriterion);
Mockito.when((List<MicroserviceParameter>) dataAccessService.getList(MicroserviceParameter.class, null, restrictionsList2, null)).thenReturn(microserviceParameters);
Criterion serviceIdCriterion = Restrictions.eq("serviceId", 1l);
restrictionsList2.add(serviceIdCriterion);
Mockito.when((List<MicroserviceParameter>) dataAccessService.getList(MicroserviceParameter.class, null, restrictionsList2, null)).thenReturn(microserviceParameters);