public void AllFailedTest() { var items = new[] { "Lorem", "ipsum", "dolor", "sit", "amet", "test" }; Assert.Throws <AllException>(() => Verify.All(items, x => Assert.Contains(x.ToString(), LoremIpsumDolorSitAmetString))); }
public void AllTest() { var items = new[] { "Lorem", "ipsum", "dolor", "sit", "amet" }; Verify.All(items, x => Assert.Contains(x.ToString(), LoremIpsumDolorSitAmetString)); }