Example #1
0
        public void Clone()
        {
            ImportRegistrationId first  = new ImportRegistrationId(typeof(string), 0, "a");
            ImportRegistrationId second = first.Clone();

            Assert.AreEqual(first, second);
        }
Example #2
0
        public void CompareToOperatorWithEqualObjects()
        {
            var    first  = new ImportRegistrationId(typeof(string), 0, "a");
            object second = first.Clone();

            Assert.AreEqual(0, first.CompareTo(second));
        }
Example #3
0
        public void SmallerThanOperatorWithEqualObjects()
        {
            var first  = new ImportRegistrationId(typeof(string), 0, "a");
            var second = first.Clone();

            Assert.IsFalse(first < second);
        }