protected override void beforeEach()
        {
            theInput = new PartialInputModel();
            theChain = new BehaviorChain();

            MockFor <IChainResolver>().Stub(x => x.FindUniqueByType(theInput.GetType(), Categories.VIEW)).Return(theChain);

            theAction = MockFor <IActionBehavior>();

            MockFor <IAuthorizationPreviewService>().Expect(x => x.IsAuthorized(theInput)).Return(true);
            MockFor <IPartialFactory>().Stub(x => x.BuildPartial(theChain)).Return(theAction);
            MockFor <IRecordedOutput>().Stub(x => x.Headers()).Return(Enumerable.Empty <Header>());

            MockFor <IOutputWriter>()
            .Expect(x => x.Record(theAction.InvokePartial))
            .WhenCalled(r => theAction.InvokePartial())
            .Return(MockFor <IRecordedOutput>());

            Configure();
            Invoke();
        }
 public void should_not_bind_properties_on_the_input()
 {
     MockFor <ISetterBinder>().AssertWasNotCalled(x => x.BindProperties(theInput.GetType(), theInput));
 }