function ContrivedControllerTest::provideTestAdd

Same name in other branches
  1. 3.x modules/testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php \Drupal\Tests\testing_example\Unit\Controller\ContrivedControllerTest::provideTestAdd()
  2. 4.0.x modules/testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php \Drupal\Tests\testing_example\Unit\Controller\ContrivedControllerTest::provideTestAdd()

Data provider for testAdd().

File

testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php, line 18

Class

ContrivedControllerTest
The class to test ContrivedController.

Namespace

Drupal\Tests\testing_example\Unit\Controller

Code

public function provideTestAdd() {
    return [
        [
            4,
            2,
            2,
        ],
    ];
}