public function AssertHelperTraitTest::providerCastSafeStrings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php \Drupal\Tests\simpletest\Unit\AssertHelperTraitTest::providerCastSafeStrings()
File
- core/
modules/ simpletest/ tests/ src/ Unit/ AssertHelperTraitTest.php, line 29 - Contains \Drupal\Tests\simpletest\Unit\AssertHelperTraitTest.
Class
- AssertHelperTraitTest
- @coversDefaultClass \Drupal\simpletest\AssertHelperTrait @group simpletest
Namespace
Drupal\Tests\simpletest\UnitCode
public function providerCastSafeStrings() {
$safe_string = Markup::create('test safe string');
return [
[
'test simple string',
'test simple string',
],
[
[
'test simple array',
'test simple array',
],
[
'test simple array',
'test simple array',
],
],
[
'test safe string',
$safe_string,
],
[
[
'test safe string',
'test safe string',
],
[
$safe_string,
$safe_string,
],
],
[
[
'test safe string',
'mixed array',
'test safe string',
],
[
$safe_string,
'mixed array',
$safe_string,
],
],
];
}