public void HasMarketCapFiltersReturnsTrueForIncludeOnly(RuleFilterType filterType, bool expectation) { A.CallTo(() => this.marketCapFilterable.MarketCapFilter).Returns(new DecimalRangeRuleFilter { Type = filterType }); var result = MarketCapFilterableExtensions.HasMarketCapFilters(this.marketCapFilterable); Assert.AreEqual(result, expectation); }
public bool HasMarketCapFilters() { return(MarketCapFilterableExtensions.HasMarketCapFilters(this)); }