public DefaultPropertyRangeRetrievalPolicyTests() { this.propertyType = A.Fake<IPropertyRangeMappingPolicy>(); var mappings = new[] { this.propertyType }; this.rangePolicy = new DefaultPropertyRangeRetrievalPolicy(mappings); }
public DefaultSupportedPropertyFactoryTests() { _propertyType = A.Fake <IPropertyRangeMappingPolicy>(); _metaProvider = A.Fake <ISupportedPropertyMetaProvider>(); _propertyRangeRetrievalPolicy = A.Fake <IPropertyRangeRetrievalPolicy>(); _propertyPredicateIdPolicy = A.Fake <IPropertyPredicateIdPolicy>(); _factory = new DefaultSupportedPropertyFactory( _propertyRangeRetrievalPolicy, _metaProvider, _propertyPredicateIdPolicy); }