Ejemplo n.º 1
0
        public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields()
        {
            IType hl7Type = new EntityIdentifier
            {
                EntityId        = "1",
                NamespaceId     = "2",
                UniversalId     = "3",
                UniversalIdType = "4"
            };

            string expected = "1^2^3^4";
            string actual   = hl7Type.ToDelimitedString();

            Assert.Equal(expected, actual);
        }