예제 #1
0
        public void CtrWithLongs_ValidLongValues_ExpectedStringRepresentation()
        {
            var relationIdentifier = new RelationIdentifier(4104, 10261, 6145, 4280);

            Assert.Equal("4qp-360-7x1-3aw", relationIdentifier.StringRepresentation);
            Assert.Equal("4qp-360-7x1-3aw", relationIdentifier.ToString());
        }
예제 #2
0
        public void ToString_ValidRelationId_RelationId()
        {
            const string relationId         = "4qp-360-7x1-3aw";
            var          relationIdentifier = new RelationIdentifier(relationId);

            Assert.Equal(relationId, relationIdentifier.ToString());
        }