You are here

public function ProtectedPrivatesTest::addDataProvider in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php \Drupal\Tests\phpunit_example\Unit\ProtectedPrivatesTest::addDataProvider()

Good data provider.

File

phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php, line 56

Class

ProtectedPrivatesTest
ProtectedPrivates unit testing of restricted methods.

Namespace

Drupal\Tests\phpunit_example\Unit

Code

public function addDataProvider() {
  return [
    [
      5,
      2,
      3,
    ],
  ];
}