예제 #1
0
        public void GetValidStatus_Handles_Null()
        {
            var validationService = new FhirValidation(_iValidationHelper);

            var actual = validationService.GetValidStatus(null);

            Assert.Null(actual);
        }
예제 #2
0
        public void GetValidStatus_Handles_EnteredInError()
        {
            var validationService = new FhirValidation(_iValidationHelper);

            var actual = validationService.GetValidStatus(DocumentReferenceStatus.EnteredInError);

            Assert.Null(actual);
        }
예제 #3
0
        public void GetValidStatus_Valid()
        {
            var validationService = new FhirValidation(_iValidationHelper);

            var actual = validationService.GetValidStatus(DocumentReferenceStatus.Current);

            Assert.NotNull(actual);

            Assert.Equal(DocumentReferenceStatus.Current, actual);
        }