use Symfony\Component\Notifier\Bridge\Bandwidth\BandwidthOptions;
class BandwidthOptionsTest extends TestCase
{ public function testBandwidthOptions() { $bandwidthOptions =
(new BandwidthOptions()) ->
media(['foo'
]) ->
tag('test_tag'
) ->
accountId('test_account_id'
) ->
applicationId('test_application_id'
) ->
expiration('test_expiration'
) ->
priority('test_priority'
);
self::
assertSame([ 'media' =>
['foo'
],
'tag' => 'test_tag',
'accountId' => 'test_account_id',
'applicationId' => 'test_application_id',
'expiration' => 'test_expiration',
'priority' => 'test_priority',
],
$bandwidthOptions->
toArray());
}}