namespace Symfony\Component\Notifier\Bridge\AmazonSns\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsOptions;
class AmazonSnsOptionsTest extends TestCase
{ public function testGetRecipientId() { $options =
new AmazonSnsOptions('my-topic'
);
$this->
assertSame('my-topic',
$options->
getRecipientId());
} public function testToArray() { $options =
new AmazonSnsOptions('my-topic'
);
$options->
subject('value'
);
$this->
assertSame(['Subject' => 'value'
],
$options->
toArray());
}}