public void BeforeEach()
 {
     _notification = new Notification();
     _model = new SimpleModel();
     _strategy = new GreaterThanZeroFieldStrategy();
     _accessor = AccessorFactory.Create<SimpleModel>(m => m.GreaterThanZero);
     _rule = new FieldRule(_accessor, new TypeResolver(), _strategy);
     _context = new ValidationContext(null);
 }
 public void BeforeEach()
 {
     theRule = new GreaterThanZeroRule();
     theModel = new SimpleModel();
 }
 public void BeforeEach()
 {
     theRule = new GreaterOrEqualToZeroRule();
     theModel = new SimpleModel();
 }