added one more question
This commit is contained in:
parent
1024aa4908
commit
1d0f31ef2e
|
@ -150,6 +150,7 @@ public class SearchParameterValidatingInterceptorTest {
|
||||||
List<ResourcePersistentId> resourcePersistentIds = theSearchParams
|
List<ResourcePersistentId> resourcePersistentIds = theSearchParams
|
||||||
.stream()
|
.stream()
|
||||||
.map(SearchParameter::getId)
|
.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))
|
.map(theS -> new ResourcePersistentId(theS))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
when(myIFhirResourceDao.searchForIds(any(), any())).thenReturn(resourcePersistentIds);
|
when(myIFhirResourceDao.searchForIds(any(), any())).thenReturn(resourcePersistentIds);
|
||||||
|
|
Loading…
Reference in New Issue