public void Any_Boolean_should_work() { ForTest.Scenarios(true, false) .TestEach(scenario => { _mock.ResetCalls(); _test.WithBoolean(scenario); _mock.VerifyOneCallTo(x => x.WithBoolean(Any.Boolean)); }); }
public void Any_Boolean_should_work() { ForTest.Scenarios(true, false) .TestEach(scenario => { _mock.Invocations.Clear(); _test.WithBoolean(scenario); _mock.Verify(x => x.WithBoolean(Any.Boolean), Times.Once); }); }