public function EncryptServiceTest::encryptionDataProvider in Encrypt 8.3
Data provider for encrypt / decrypt method.
Return value
array An array with data for the test method.
File
- tests/
src/ Unit/ EncryptServiceTest.php, line 207
Class
- EncryptServiceTest
- Unit tests for EncryptService class.
Namespace
Drupal\Tests\encrypt\UnitCode
public function encryptionDataProvider() {
return [
'normal' => [
"validkey",
TRUE,
],
'exception' => [
"invalidkey",
FALSE,
],
];
}