public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields()
        {
            IType hl7Type = new ObservationGrouper
            {
                OriginalSubIdentifier = "1",
                Group      = 2,
                Sequence   = 3,
                Identifier = "4"
            };

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

            Assert.Equal(expected, actual);
        }
        public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields()
        {
            ObservationGrouper expected = new()
            {
                OriginalSubIdentifier = "1",
                Group      = 2,
                Sequence   = 3,
                Identifier = "4"
            };

            IType actual = new ObservationGrouper();

            actual.FromDelimitedString("1^2^3^4");

            expected.Should().BeEquivalentTo(actual);
        }