Esempio n. 1
0
        public void Constructor_should_set_call()
        {
            var call = A.Fake <IInterceptedFakeObjectCall>();

            var args = new CallInterceptedEventArgs(call);

            Assert.That(args.Call, Is.SameAs(call));
        }
Esempio n. 2
0
 public void RaiseCallIntercepted(CallInterceptedEventArgs eventArgs)
 {
     this.raiser.CallWasIntercepted += Raise.With(eventArgs).Now;
 }