createLineItemWithManufacturer example

array $manufacturerIds,
        string $operator,
        string $lineItemManufacturerId,
        bool $expected
    ): void {
        $this->rule->assign([
            'manufacturerIds' => $manufacturerIds,
            'operator' => $operator,
        ]);

        $match = $this->rule->match(new LineItemScope(
            $this->createLineItemWithManufacturer($lineItemManufacturerId),
            $this->createMock(SalesChannelContext::class)
        ));

        static::assertSame($expected$match);
    }

    /** * @return array<string, array<array<string>|string|bool>> */
    public static function getLineItemScopeTestData(): array
    {
        
Home | Imprint | This part of the site doesn't use cookies.