sentDate example

namespace Symfony\Component\Notifier\Bridge\Smsmode\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Notifier\Bridge\Smsmode\SmsmodeOptions;

class SmsmodeOptionsTest extends TestCase
{
    public function testSmsmodeOptions()
    {
        $smsmodeOptions = (new SmsmodeOptions())
            ->refClient('test_ref_client')
            ->sentDate('test_sent_date');

        self::assertSame([
            'refClient' => 'test_ref_client',
            'sentDate' => 'test_sent_date',
        ]$smsmodeOptions->toArray());
    }
}
Home | Imprint | This part of the site doesn't use cookies.