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)); }
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)); }