Example #1
0
        public void NewOfSameType()
        {
            TopicRevision revision = new TopicRevision().NewOfSameType("A.B(C)");

            Assert.AreEqual(typeof(TopicRevision), revision.GetType(), "Checking that the newly created type is a TopicRevision.");
            Assert.AreEqual("A.B(C)", revision.DottedNameWithVersion, "Checking that the correct properties were parsed."); 
        }