public void ShouldCorrectlyReportLikenessWithNSubstitute() { var s = Substitute.For <IXyz>(); s.Do(new List <int>()); s.Received(1).Do(XArg.IsLike(new List <int>())); s.DidNotReceive().Do(XArg.IsLike(new List <int> { 1 })); }
public void ShouldWorkCorrectlyWithNSubstitute() { var s = Substitute.For <Ixyz>(); s.Do(new List <int>()); s.Received(1).Do(XArg.IsLike(new List <int>())); s.DidNotReceive().Do(XArg.IsLike(new List <int> { 1 })); }