Exemplo n.º 1
0
        public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields()
        {
            IType expected = new MessageType
            {
                MessageCode      = "1",
                TriggerEvent     = "2",
                MessageStructure = "3"
            };

            IType actual = new MessageType();

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

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