Updated to use new HAPI-FHIR version
This commit is contained in:
parent
c7d60fc3e6
commit
910b7f676b
|
@ -1415,7 +1415,7 @@ public class FhirInstanceValidatorR4Test extends BaseTest {
|
||||||
when(policyAdvisor.policyForContained(any(), any(), any(), any(), any(), any(), any())).thenReturn(ContainedReferenceValidationPolicy.CHECK_TYPE);
|
when(policyAdvisor.policyForContained(any(), any(), any(), any(), any(), any(), any())).thenReturn(ContainedReferenceValidationPolicy.CHECK_TYPE);
|
||||||
myInstanceVal.setValidatorResourceFetcher(resourceFetcher);
|
myInstanceVal.setValidatorResourceFetcher(resourceFetcher);
|
||||||
myInstanceVal.setValidatorPolicyAdvisor(policyAdvisor);
|
myInstanceVal.setValidatorPolicyAdvisor(policyAdvisor);
|
||||||
myVal.validateWithResult(encoded);
|
myFhirValidator.validateWithResult(encoded);
|
||||||
|
|
||||||
verify(resourceFetcher, times(12)).resolveURL(any(), any(), anyString(), anyString(), anyString());
|
verify(resourceFetcher, times(12)).resolveURL(any(), any(), anyString(), anyString(), anyString());
|
||||||
verify(policyAdvisor, times(12)).policyForContained(any(), any(), any(), any(), any(), any(), any());
|
verify(policyAdvisor, times(12)).policyForContained(any(), any(), any(), any(), any(), any(), any());
|
||||||
|
|
Loading…
Reference in New Issue