public void BeforeEach()
 {
     _notification = new Notification();
     _model = new AddressModel();
     _strategy = new MaximumStringLengthFieldStrategy() { Length = 10 };
     _accessor = AccessorFactory.Create<AddressModel>(m => m.Address1);
     _rule = new FieldRule(_accessor, new TypeResolver(), _strategy);
     _context = new ValidationContext(null);
 }
 public void SetUp()
 {
     theModel = new AddressModel();
 }
 public void BeforeEach()
 {
     theRule = new RequiredFieldRule();
     theTarget = new AddressModel();
 }
 public void SetUp()
 {
     theTarget = new AddressModel();
 }
 public void BeforeEach()
 {
     theRule = new MaximumLengthRule(10);
     theModel = new AddressModel();
 }