You are here

public function ContrivedControllerTest::provideTestAdd in Examples for Developers 8

Same name and namespace in other branches
  1. 3.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,
    ],
  ];
}