public void SetUp() { _domainModelConstraintProvider = new DomainModelConstraintProvider(); _propertyInformationStub = MockRepository.GenerateStub <IPropertyInformation>(); _nullablePropertyAttributeStub = MockRepository.GenerateStub <INullablePropertyAttribute>(); _lengthConstraintPropertyAttributeStub = MockRepository.GenerateStub <ILengthConstrainedPropertyAttribute>(); }
public void SetUp() { _attribute = new StubNullablePropertyAttribute(); _nullable = _attribute; }