示例#1
0
        public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields()
        {
            IType expected = new StreetAddress
            {
                StreetOrMailingAddress = "1",
                StreetName             = "2",
                DwellingNumber         = "3"
            };

            IType actual = new StreetAddress();

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

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