24 calls to SmsFrameworkTestTrait::randomPhoneNumbers() in SMS Framework 8
- SmsBlastBrowserTest::testSendBlast in modules/
sms_blast/ tests/ src/ Functional/ SmsBlastBrowserTest.php - Tests sending SMS blast.
- SmsFrameworkBrowserTest::testQueueReport in tests/
src/ Functional/ SmsFrameworkBrowserTest.php - Tests queue statistics located on Drupal report page.
- SmsFrameworkIncomingBrowserTest::testIncomingRouteEndpoint in tests/
src/ Functional/ SmsFrameworkIncomingBrowserTest.php - Test incoming route endpoint provided by 'incoming' gateway.
- SmsFrameworkMessageEntityTest::testConvertToEntityFromStandardSmsMessage in tests/
src/ Kernel/ SmsFrameworkMessageEntityTest.php - Ensure data from standard SMS message are passed to SMS message entity.
- SmsFrameworkProcessorTest::testIncomingMissingGateway in tests/
src/ Kernel/ SmsFrameworkProcessorTest.php - Tests exception is thrown if gateway is not set on incoming messages.
- SmsFrameworkProcessorTest::testOutgoingMissingReports in tests/
src/ Kernel/ SmsFrameworkProcessorTest.php - Ensure exception thrown if outgoing message is missing recipient reports.
- SmsFrameworkProcessorTest::testOutgoingNoResult in tests/
src/ Kernel/ SmsFrameworkProcessorTest.php - Ensure exception thrown if gateway send method did not return a result.
- SmsFrameworkProviderTest::testEventsIncoming in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensure events are executed when a message is received.
- SmsFrameworkProviderTest::testEventsOutgoing in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensure events are executed when a message is sent.
- SmsFrameworkProviderTest::testEventsQueueIncoming in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensure events are executed when a message added to the incoming queue.
- SmsFrameworkProviderTest::testEventsQueueIncomingSkipQueue in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Tests events for incoming queue skip queue.
- SmsFrameworkProviderTest::testEventsQueueOutgoing in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensure events are executed when a message added to the outgoing queue.
- SmsFrameworkProviderTest::testEventsQueueOutgoingSkipQueue in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test events for outgoing queue skip queue.
- SmsFrameworkProviderTest::testNoChunking in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is not into multiple messages if gateway defines no chunking.
- SmsFrameworkProviderTest::testNoSendNoMessage in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensures validation failure if no message.
- SmsFrameworkProviderTest::testQueueBasic in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is saved.
- SmsFrameworkProviderTest::testQueueNoDirection in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Ensures exception if missing direction for queue method.
- SmsFrameworkProviderTest::testQueueNoFallbackGateway in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is not queued because no gateway is set.
- SmsFrameworkProviderTest::testSend in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is sent immediately.
- SmsFrameworkProviderTest::testSendNoFallbackGateway in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is not sent because no gateway is set.
- SmsFrameworkProviderTest::testSkipQueue in tests/
src/ Kernel/ SmsFrameworkProviderTest.php - Test message is sent immediately.
- SmsFrameworkQueueTest::createSmsMessage in tests/
src/ Kernel/ SmsFrameworkQueueTest.php - Create a SMS message entity for testing.
- SmsFrameworkRecipientGatewayEventTest::testGatewayEventSubscriber in tests/
src/ Kernel/ SmsFrameworkRecipientGatewayEventTest.php - Test gateways are applied from the test event subscriber.
- SmsFrameworkTestTrait::randomSmsMessage in tests/
src/ Functional/ SmsFrameworkTestTrait.php - Generates a random SMS message by the specified user.