Beispiel #1
0
 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));
     });
 }
Beispiel #2
0
 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);
     });
 }