public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields() { IType hl7Type = new QueryInputParameterList { SegmentFieldName = "1", Values = "2" }; string expected = "1^2"; string actual = hl7Type.ToDelimitedString(); Assert.Equal(expected, actual); }
public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields() { IType expected = new QueryInputParameterList { SegmentFieldName = "1", Values = "2" }; IType actual = new QueryInputParameterList(); actual.FromDelimitedString("1^2"); expected.Should().BeEquivalentTo(actual); }