private QueryDefinitionCollection CreateExpectedQueryDefinitions()
        {
            QueryDefinitionCollection queries = new QueryDefinitionCollection();

            queries.Add(TestQueryFactory.CreateOrderQueryWithCustomCollectionType());
            queries.Add(TestQueryFactory.CreateOrderQueryDefinitionWithObjectListOfOrder());
            queries.Add(TestQueryFactory.CreateCustomerTypeQueryDefinition());
            queries.Add(TestQueryFactory.CreateOrderSumQueryDefinition());

            return(queries);
        }
        public override void SetUp()
        {
            base.SetUp();

            _query1 = QueryFactory.CreateQuery(TestQueryFactory.CreateOrderSumQueryDefinition());
            _query2 = QueryFactory.CreateQuery(TestQueryFactory.CreateOrderQueryWithCustomCollectionType());

            _endPointDefinition1 = DomainObjectIDs.Order1.ClassDefinition.GetMandatoryRelationEndPointDefinition(typeof(Order).FullName + ".OrderItems");
            _endPointDefinition2 = DomainObjectIDs.Customer1.ClassDefinition.GetMandatoryRelationEndPointDefinition(typeof(Customer).FullName + ".Orders");

            _objectEndPointDefinition = DomainObjectIDs.Order1.ClassDefinition.GetMandatoryRelationEndPointDefinition(typeof(Order).FullName + ".OrderTicket");

            _collection = new EagerFetchQueryCollection();
        }