ElasticsearchProductDefinition example

$this->createMock(ProductDefinition::class),
            $connection,
            [],
            new EventDispatcher(),
            $this->createMock(AbstractProductSearchQueryBuilder::class),
            [
                'en' => 'english',
                'de' => 'german',
            ]
        );

        $definition = new ElasticsearchProductDefinition(
            $this->createMock(ProductDefinition::class),
            $connection,
            [],
            new EventDispatcher(),
            $this->createMock(AbstractProductSearchQueryBuilder::class),
            $newImplementation
        );

        $expectedMapping = [
            '_source' => [
                'includes' => [
                    
Home | Imprint | This part of the site doesn't use cookies.