public void Any_Tuple_should_work() { ForTest.Scenarios ( Tuple.Create("A", 1), Tuple.Create("B", 2) ) .TestEach(scenario => { _mock.ResetCalls(); _test.WithTuple(scenario); _mock.VerifyOneCallTo(x => x.WithTuple(Any.Tuple <string, int>())); }); }
public void Any_Tuple_should_work() { ForTest.Scenarios ( Tuple.Create("A", 1), Tuple.Create("B", 2) ) .TestEach(scenario => { _mock.Invocations.Clear(); _test.WithTuple(scenario); _mock.Verify(x => x.WithTuple(Any.Tuple <string, int>()), Times.Once); }); }