Example #1
0
        public void MethodWithNoArgs()
        {
            var target = new TestMethodWithNoArgs();

            target.Safe <ITestMethodWithNoArgs>().Test();
            Assert.That(target.Called);
        }
Example #2
0
 public void MethodWithNoArgs()
 {
     var target = new TestMethodWithNoArgs();
     target.Safe<ITestMethodWithNoArgs>().Test();
     Assert.That(target.Called);
 }