$this->aggregator->
aggregate($this->
getContainer()->
get(TaxDefinition::
class),
$criteria,
$context);
} private function insertData(): void
{ $repository =
$this->
getContainer()->
get('product.repository'
);
$this->ids =
new TestDataCollection();
$repository->
create([ $this->
getProduct('p-1', 't-1', 'm-1', 50,
['c-1', 'c-2'
], '2019-01-01 10:11:00'
),
$this->
getProduct('p-2', 't-1', 'm-2', 100,
['c-1'
], '2019-01-01 10:13:00'
),
$this->
getProduct('p-3', 't-2', 'm-2', 150,
['c-1', 'c-3'
], '2019-06-15 13:00:00'
),
$this->
getProduct('p-4', 't-2', 'm-2', 200,
['c-3'
], '2020-09-30 15:00:00'
),
$this->
getProduct('p-5', 't-3', 'm-3', 250,
[], '2021-12-10 11:59:00'
),
$this->
getProduct('p-6', 't-3', 'm-3', 250,
[], '2024-12-11 23:59:00'
),
], Context::
createDefaultContext());
} /**
* @param list<string> $categoryKeys
*
* @return array<string, mixed>
*/