use Symfony\Component\HttpFoundation\Response;
/**
* @internal
*
* @covers \Shopware\Core\Content\ProductExport\ProductExportException
*/
class ProductExportExceptionTest extends TestCase
{ public function testTemplateBodyNotSet(): void
{ $exception = ProductExportException::
templateBodyNotSet();
static::
assertSame(Response::HTTP_BAD_REQUEST,
$exception->
getStatusCode());
static::
assertSame('PRODUCT_EXPORT__TEMPLATE_BODY_NOT_SET',
$exception->
getErrorCode());
static::
expectException(ProductExportException::
class);
throw $exception;
} /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/