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