public void SetUp()
        {
            theModel = new SimpleModel();

            r1 = MockRepository.GenerateStub<IValidationRule>();
            r2 = MockRepository.GenerateStub<IValidationRule>();
            theSource = typeof(ConfiguredValidationSource);

            theContext = ValidationContext.For(theModel);

            theStep = new ValidationStep(theModel.GetType(), theSource, new[] { r1, r2 });
        }
 public void BeforeEach()
 {
     theRule = new GreaterOrEqualToZeroRule();
     theModel = new SimpleModel();
 }
 public void BeforeEach()
 {
     theRule = new GreaterThanZeroRule();
     theModel = new SimpleModel();
 }