use Shopware\Elasticsearch\Exception\ElasticsearchIndexingException;
/**
* @internal
*
* @covers \Shopware\Elasticsearch\Exception\ElasticsearchIndexingException
*/
class ElasticsearchIndexingExceptionTest extends TestCase
{ public function testException(): void
{ Feature::
skipTestIfActive('ES_MULTILINGUAL_INDEX',
$this);
$exception =
new ElasticsearchIndexingException([ 'index' => 'shopware',
'type' => 'product',
'reason' => 'illegal_argument_exception',
'id' => '1',
'error' =>
[ 'type' => 'illegal_argument_exception',
'reason' => 'illegal argument',
],
]);