Beispiel #1
0
 public void Any_Dictionary_should_work()
 {
     ForTest.Scenarios
     (
         new Dictionary <string, string>()
     )
     .TestEach(scenario =>
     {
         _mock.ResetCalls();
         _test.WithDictionary(scenario);
         _mock.VerifyOneCallTo(x => x.WithDictionary(Any.Dictionary <string, string>()));
     });
 }
Beispiel #2
0
 public void Any_Dictionary_should_work()
 {
     ForTest.Scenarios
     (
         new Dictionary <string, string>()
     )
     .TestEach(scenario =>
     {
         _mock.Invocations.Clear();
         _test.WithDictionary(scenario);
         _mock.Verify(x => x.WithDictionary(Any.Dictionary <string, string>()), Times.Once);
     });
 }