public function ConversionTest::swiftmailer_parse_mailboxes_dataProvider in Swift Mailer 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/Utility/ConversionTest.php \Drupal\Tests\swiftmailer\Kernel\Utility\ConversionTest::swiftmailer_parse_mailboxes_dataProvider()
DataProvider for ::test_swiftmailer_parse_mailboxes.
File
- tests/
src/ Kernel/ Utility/ ConversionTest.php, line 24
Class
- ConversionTest
- @coversDefaultClass \Drupal\swiftmailer\Utility\Conversion @group swiftmailer
Namespace
Drupal\Tests\swiftmailer\Kernel\UtilityCode
public function swiftmailer_parse_mailboxes_dataProvider() {
return [
[
'mail@example.com',
[
'mail@example.com',
],
],
[
'mail1@example.com;mail2@example.com',
[
'mail1@example.com',
'mail2@example.com',
],
],
[
'mail1@example.com;invalid-email',
[
'mail1@example.com',
],
],
];
}