public function ProtectedPrivatesTest::addBadDataProvider in Examples for Developers 3.x
Same name and namespace in other branches
- 8 phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php \Drupal\Tests\phpunit_example\Unit\ProtectedPrivatesTest::addBadDataProvider()
Bad data provider.
File
- modules/
phpunit_example/ tests/ src/ Unit/ ProtectedPrivatesTest.php, line 89
Class
- ProtectedPrivatesTest
- ProtectedPrivates unit testing of restricted methods.
Namespace
Drupal\Tests\phpunit_example\UnitCode
public function addBadDataProvider() {
return [
[
'string',
[],
],
];
}