コード例 #1
0
        public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields()
        {
            IType hl7Type = new DayTypeAndNumber
            {
                DayType = new CodedWithExceptions
                {
                    Identifier = "1"
                },
                NumberOfDays = 2
            };

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

            Assert.Equal(expected, actual);
        }