added one more question

This commit is contained in:
Kateryna Mironova 2022-11-22 15:47:00 -05:00
parent 1024aa4908
commit 1d0f31ef2e
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ public class SearchParameterValidatingInterceptorTest {
List<ResourcePersistentId> resourcePersistentIds = theSearchParams
.stream()
.map(SearchParameter::getId)
//TODO: JpaPid only takes the Long value as a constructor parameter. Should I add a different constructor or use a different data type?
.map(theS -> new ResourcePersistentId(theS))
.collect(Collectors.toList());
when(myIFhirResourceDao.searchForIds(any(), any())).thenReturn(resourcePersistentIds);