public void SetUp()
        {
            var services = new RhinoAutoMocker<SampleInputModel>(MockMode.AAA);
            var request = services.Get<IFubuRequest>();

            _policies = new List<IValidationFailurePolicy>();
            _handler = new ValidationFailureHandler(_policies, request);
        }
Exemple #2
0
        public void SetUp()
        {
            var services = new RhinoAutoMocker <SampleInputModel>(MockMode.AAA);
            var request  = services.Get <IFubuRequest>();

            _policies = new List <IValidationFailurePolicy>();
            _handler  = new ValidationFailureHandler(_policies, request);
        }
        public void SetUp()
        {
            var services = new RhinoAutoMocker<SampleInputModel>(MockMode.AAA);
            var request = services.Get<IFubuRequest>();

            _context = new ValidationFailure(ActionCall.For<SampleInputModel>(m => m.Test("Hello")), Notification.Valid(), "Hello");
            _policies = new List<IValidationFailurePolicy>();
            _handler = new ValidationFailureHandler(_policies, request);
        }