예제 #1
0
        public void FromDelimitedString_WithAllProperties_ReturnsCorrectlyInitializedFields()
        {
            IType expected = new EntityIdentifier
            {
                EntityId        = "1",
                NamespaceId     = "2",
                UniversalId     = "3",
                UniversalIdType = "4"
            };

            IType actual = new EntityIdentifier();

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

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