public ScalarTests()
        {
            _idProvider = new IdProvider();
            _testData = TestHelper.GetResponseData<Widget>(10);

            _searchManager = Substitute.For<ISearchManager>();
            _searchManager.Search(Arg.Any<AdvancedSearchCriteria>()).ReturnsForAnyArgs(
                _testData
                );

            _widgets = EktronQueryFactory.Queryable<Widget>(_idProvider, _searchManager);
        }
 public CollectionTests()
 {
     _idProvider = new IdProvider();
     _searchManager = Substitute.For<ISearchManager>();
     _executor = new EktronQueryExecutor(_idProvider, _searchManager);
 }
 public UnaryTests()
 {
     _idProvider = new IdProvider();
 }
 public ReturnPropertiesTests()
 {
     _idProvider = new IdProvider();
     _searchManager = Substitute.For<ISearchManager>();
     _executor = new TestableExecutor(_idProvider, _searchManager);
 }
 public SelectFromTests()
 {
     _idProvider = new IdProvider();
 }
 public NullableTests()
 {
     _idProvider = new IdProvider();
     _searchManager = ObjectFactory.GetSearchManager();
     _searcher = new EktronSearcher(_searchManager);
 }