public void DifferentListCompanions_returnDifferent() { var current1 = new SynchronEvent().AddCompanions("*****@*****.**").AddCompanions("*****@*****.**"); var current2 = new SynchronEvent().AddCompanions("*****@*****.**").AddCompanions("*****@*****.**"); Assert.False(current1.CompareOnEqual(current2)); }
public void SameListCompanionsButAddedInTheDifferentWay_returnSame() { var current1 = new SynchronEvent().AddCompanions("*****@*****.**").AddCompanions("*****@*****.**"); var current2 = new SynchronEvent().AddCompanions("*****@*****.**").AddCompanions("*****@*****.**"); Assert.True(current1.CompareOnEqual(current2)); }