@dataProvider provideNonBinaryMultibyteStrings
File
- drupal/core/vendor/phpunit/phpunit/Tests/Util/TypeTest.php, line 265
Class
- Util_TypeTest
- @package PHPUnit
@author Bernhard Schussek <bschussek@2bepublished.at>
@copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de>
@license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
@link …
Code
public function testNonBinaryStringExport($value, $expectedLength) {
$this
->assertRegExp("~'.{{$expectedLength}}'\$~s", PHPUnit_Util_Type::export($value));
}