public void ToDelimitedString_WithAllProperties_ReturnsCorrectlySequencedFields() { IType hl7Type = new WaveformSource { SourceOneName = "1", SourceTwoName = "2" }; string expected = "1^2"; string actual = hl7Type.ToDelimitedString(); Assert.Equal(expected, actual); }
public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields() { IType expected = new WaveformSource { SourceOneName = "1", SourceTwoName = "2" }; IType actual = new WaveformSource(); actual.FromDelimitedString("1^2"); expected.Should().BeEquivalentTo(actual); }