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