public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields()
        {
            IType hl7Type = new SpecialtyDescription
            {
                SpecialtyName       = "1",
                GoverningBoard      = "2",
                EligibleOrCertified = "3",
                DateOfCertification = new DateTime(2020, 4, 4)
            };

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

            Assert.Equal(expected, actual);
        }
        public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields()
        {
            IType expected = new SpecialtyDescription
            {
                SpecialtyName       = "1",
                GoverningBoard      = "2",
                EligibleOrCertified = "3",
                DateOfCertification = new DateTime(2020, 4, 4)
            };

            IType actual = new SpecialtyDescription();

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

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