getRecipientPhone example

namespace Symfony\Component\RemoteEvent\Tests\Event\Sms;

use PHPUnit\Framework\TestCase;
use Symfony\Component\RemoteEvent\Event\Sms\SmsEvent;

class SmsEventTest extends TestCase
{
    public function testPhone()
    {
        $event = new SmsEvent('name', 'id', []);
        $event->setRecipientPhone($phone = '0102030405');
        $this->assertSame($phone$event->getRecipientPhone());
    }
}
Home | Imprint | This part of the site doesn't use cookies.