public void Constructor_should_set_call() { var call = A.Fake <IInterceptedFakeObjectCall>(); var args = new CallInterceptedEventArgs(call); Assert.That(args.Call, Is.SameAs(call)); }
public void RaiseCallIntercepted(CallInterceptedEventArgs eventArgs) { this.raiser.CallWasIntercepted += Raise.With(eventArgs).Now; }