Ejemplo n.º 1
0
        public void Return_True_On_IsIdentical_When_Identity_Is_Equal()
        {
            var x = new ThesauriTotal
            {
                TsItNr = 1,
                TsNr = 2
            };
            var y = new ThesauriTotal
            {
                TsItNr = 1,
                TsNr = 2
            };

            Assert.IsTrue(x.IsIdentical(y));
        }
Ejemplo n.º 2
0
        public void Return_False_On_IsIdentical_When_TsNr_Is_Different()
        {
            var x = new ThesauriTotal
            {
                TsItNr = 1,
                TsNr = 2
            };
            var y = new ThesauriTotal
            {
                TsItNr = 1,
                TsNr = 3
            };

            Assert.IsFalse(x.IsIdentical(y));
        }