public void Any_Decimal_should_work() { ForTest.Scenarios(1.0m, 2.0m) .TestEach(scenario => { _mock.ResetCalls(); _test.WithDecimal(scenario); _mock.VerifyOneCallTo(x => x.WithDecimal(Any.Decimal)); }); }
public void Any_Decimal_should_work() { ForTest.Scenarios(1.0m, 2.0m) .TestEach(scenario => { _mock.Invocations.Clear(); _test.WithDecimal(scenario); _mock.Verify(x => x.WithDecimal(Any.Decimal), Times.Once); }); }