コード例 #1
0
 public async Task GivenInValidFhirConfigVersion_ShouldThrowError()
 {
     _fhirClient.ReadAsync <CapabilityStatement>(MetaDataEndpoint, DefaultCancellationToken).Returns(GenerateFhirCapabilityResponse(FHIRVersion.N0_01, SystemRestfulInteraction.Transaction));
     await Assert.ThrowsAsync <InvalidFhirServerException>(() => _fhirService.CheckFhirServiceCapability(DefaultCancellationToken));
 }