public function testInvalidSalesChannelId(): void
{ $exception = ApiException::
invalidSalesChannelId('123'
);
static::
assertInstanceOf(InvalidSalesChannelIdException::
class,
$exception);
static::
assertEquals('The provided salesChannelId "123" is invalid.',
$exception->
getMessage());
} public function testInvalidVersionName(): void
{ $exception = ApiException::
invalidVersionName();
static::
assertInstanceOf(InvalidVersionNameException::
class,
$exception);
} public function testSalesChannelNotFound(): void
{ $exception = ApiException::
salesChannelNotFound();
static::
assertInstanceOf(SalesChannelNotFoundException::
class,
$exception);
}