public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields() { IType hl7Type = new PersonName { FamilyName = "1", GivenName = "2", SecondAndFurtherGivenNamesOrInitialsThereof = "3", Suffix = "4", Prefix = "5", Degree = "6" }; string expected = "1^2^3^4^5^6"; string actual = hl7Type.ToDelimitedString(); Assert.Equal(expected, actual); }