public void ValidPointer_Valid_with_MasterId() { var validationService = new FhirValidation(_iValidationHelper); var pointer = NrlsPointers.Valid_With_MasterId; var validPoiner = validationService.ValidPointer(pointer); Assert.IsType <OperationOutcome>(validPoiner); Assert.True(validPoiner.Success); }
public void ValidPointer_Invalid_MasterId_System() { var validationService = new FhirValidation(_iValidationHelper); var pointer = NrlsPointers.Invalid_MasterId_System; var validPoiner = validationService.ValidPointer(pointer); var notexpected = OperationOutcomes.Ok; Assert.NotEqual(notexpected, validPoiner, Comparers.ModelComparer <OperationOutcome>()); }
public void ValidPointer_Invalid_RelatesTo_Value() { var validationService = new FhirValidation(_iValidationHelper); var pointer = NrlsPointers.Missing_RelatesTo_Value; var validPoiner = validationService.ValidPointer(pointer); var notexpected = OperationOutcomes.Ok; Assert.NotEqual(notexpected, validPoiner, Comparers.ModelComparer <OperationOutcome>()); }
public void ValidPointer_TooMany_Author() { var validationService = new FhirValidation(_iValidationHelper); var pointer = NrlsPointers.TooMany_Author; var validPoiner = validationService.ValidPointer(pointer); var notexpected = OperationOutcomes.Ok; Assert.NotEqual(notexpected, validPoiner, Comparers.ModelComparer <OperationOutcome>()); }