function ProtectedPrivatesTest::addDataProvider
Same name in this branch
- 4.0.x modules/phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php \Drupal\Tests\phpunit_example\Unit\ProtectedPrivatesTest::addDataProvider()
Same name in other branches
- 3.x modules/phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php \Drupal\Tests\phpunit_example\Unit\ProtectedPrivatesTest::addDataProvider()
- 8.x-1.x phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php \Drupal\Tests\phpunit_example\Unit\ProtectedPrivatesTest::addDataProvider()
Good data provider.
File
-
modules/
testing_example/ tests/ src/ Unit/ ProtectedPrivatesTest.php, line 56
Class
- ProtectedPrivatesTest
- ProtectedPrivates unit testing of restricted methods.
Namespace
Drupal\Tests\test_example\UnitCode
public static function addDataProvider() {
return [
[
5,
2,
3,
],
];
}