use Psr\Log\NullLogger;
use Symfony\Component\HttpClient\MockHttpClient;
use Symfony\Component\HttpClient\Response\MockResponse;
use Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\Connection;
use Symfony\Contracts\HttpClient\HttpClientInterface;
class ConnectionTest extends TestCase
{ public function testExtraOptions() { $this->
expectException(\InvalidArgumentException::
class);
Connection::
fromDsn('sqs://default/queue',
[ 'extra_key',
]);
} public function testExtraParamsInQuery() { $this->
expectException(\InvalidArgumentException::
class);
Connection::
fromDsn('sqs://default/queue?extra_param=some_value'
);
} public function testConfigureWithCredentials() {