protected override void given_the_context_of() { _conventionManager = Mock<IConventionManager>(); _binder = new DefaultMessageBinder(_conventionManager); _handlingNode = Stub<IInteractionNode>(); _sourceNode = Stub<IInteractionNode>(); }
protected override void given_the_context_of() { conventionManager = Mock <IConventionManager>(); binder = new DefaultMessageBinder(conventionManager); handlingNode = Stub <IInteractionNode>(); sourceNode = Stub <IInteractionNode>(); }
protected override void given_the_context_of() { factory = new DefaultMethodFactory(); conventionManager = Mock <IConventionManager>(); binder = new DefaultMessageBinder(conventionManager); handlingNode = Stub <IInteractionNode>(); sourceNode = Stub <IInteractionNode>(); host = new ControlHost(); sourceNode.Stub(x => x.UIElement).Return(host).Repeat.Any(); }
protected override void given_the_context_of() { factory = new DefaultMethodFactory(); conventionManager = Mock<IConventionManager>(); binder = new DefaultMessageBinder(conventionManager); handlingNode = Stub<IInteractionNode>(); sourceNode = Stub<IInteractionNode>(); host = new ControlHost(); sourceNode.Stub(x => x.UIElement).Return(host).Repeat.Any(); }