namespace Symfony\Component\Notifier\Bridge\MicrosoftTeams\Tests\Action;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Notifier\Bridge\MicrosoftTeams\Action\OpenUriAction;
use Symfony\Component\Notifier\Exception\InvalidArgumentException;
final class OpenUriActionTest extends TestCase
{ public function testName() { $action =
(new OpenUriAction()) ->
name($value = 'My name'
);
$this->
assertSame($value,
$action->
toArray()['name'
]);
} public function testTargetWithDefaultValue() { $action =
(new OpenUriAction()) ->
target($uri = 'URI'
);
$this->
assertSame( [