public function setUp()
 {
     parent::setUp();
     $this->tableDefinitions['s_articles'] = new GenericDefinition('name', new ArticleTableLoader());
     $this->tableDefinitions['s_articles_attribute'] = new GenericDefinition('attr1', new AttributeTableLoader(new ORMReflector(Shopware()->Models())));
     $this->tableDefinitions['s_articles_details'] = new GenericDefinition('height', new DetailsTableLoader());
     $this->tableDefinitions['s_order_details'] = $this->getMockBuilder('Shopware\\SwagDefaultSort\\Components\\SortDefinition\\AbstractSortDefinition');
     $this->tableDefinitions['s_articles_prices'] = new GenericDefinition('price', new PricesTableLoader());
     $this->interfaceDefinitions['s_order_details'] = new SumOrderAmount(new OrderTableLoader());
     $this->interfaceDefinitions['s_articles_vote'] = new SumPoints(new VotesTableLoader());
 }
 public function setUp()
 {
     parent::setUp();
     $this->definitionCollection = new DefinitionCollection();
     $this->queryExtensionGateway = new QueryExtensionGateway($this->definitionCollection, new OrderByFilterChain(), new JoinProviderCollection());
 }