public void Any_IEnumerable_should_work() { ForTest.Scenarios ( new[] { "a", "b" }, new[] { "c", "d" } ) .TestEach(scenario => { _mock.ResetCalls(); _test.WithIEnumerable(scenario); _mock.VerifyOneCallTo(x => x.WithIEnumerable(Any.IEnumerable <string>())); }); }
public void Any_IEnumerable_should_work() { ForTest.Scenarios ( new[] { "a", "b" }, new[] { "c", "d" } ) .TestEach(scenario => { _mock.Invocations.Clear(); _test.WithIEnumerable(scenario); _mock.Verify(x => x.WithIEnumerable(Any.IEnumerable <string>()), Times.Once); }); }