public function ContrivedControllerTest::provideTestAdd in Examples for Developers 3.x
Same name and namespace in other branches
- 8 testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php \Drupal\Tests\testing_example\Unit\Controller\ContrivedControllerTest::provideTestAdd()
Data provider for testAdd().
File
- modules/
testing_example/ tests/ src/ Unit/ Controller/ ContrivedControllerTest.php, line 18
Class
- ContrivedControllerTest
- The class to test ContrivedController.
Namespace
Drupal\Tests\testing_example\Unit\ControllerCode
public function provideTestAdd() {
return [
[
4,
2,
2,
],
];
}