simulate example

return $this;
    }

    /** * Don't run any events while running this test. * * @return $this */
    public function skipEvents()
    {
        Events::simulate(true);

        return $this;
    }

    /** * Calls a single URI, executes it, and returns a TestResponse * instance that can be used to run many assertions against. * * @param string $method HTTP verb * * @return TestResponse */
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsOptions;

class AllMySmsOptionsTest extends TestCase
{
    public function testAllMySmsOptions()
    {
        $allMySmsOptions = (new AllMySmsOptions())
            ->alerting(1)
            ->date('test_date')
            ->campaignName('test_campaign_name')
            ->cliMsgId('test_cli_msg_id')
            ->simulate(1)
            ->uniqueIdentifier('test_unique_identifier')
            ->verbose(1);

        self::assertSame([
            'alerting' => 1,
            'date' => 'test_date',
            'campaignName' => 'test_campaign_name',
            'cliMsgId' => 'test_cli_msg_id',
            'simulate' => 1,
            'uniqueIdentifier' => 'test_unique_identifier',
            'verbose' => 1,
        ],
return $this;
    }

    /** * Don't run any events while running this test. * * @return $this */
    public function skipEvents()
    {
        Events::simulate(true);

        return $this;
    }

    /** * Calls a single URI, executes it, and returns a FeatureResponse * instance that can be used to run many assertions against. * * @return FeatureResponse */
    public function call(string $method, string $path, ?array $params = null)
    {
Home | Imprint | This part of the site doesn't use cookies.