You are here

public function TestBaseTest::providerAssertNull in Drupal 8

Data provider for assertNull().

File

core/modules/simpletest/tests/src/Unit/TestBaseTest.php, line 248

Class

TestBaseTest
@requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase

Namespace

Drupal\Tests\simpletest\Unit

Code

public function providerAssertNull() {
  return [
    [
      TRUE,
      NULL,
    ],
    [
      FALSE,
      '',
    ],
  ];
}