You are here

public function TestBaseTest::providerAssertNull in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/tests/src/Unit/TestBaseTest.php \Drupal\Tests\simpletest\Unit\TestBaseTest::providerAssertNull()

Data provider for assertNull().

File

core/modules/simpletest/tests/src/Unit/TestBaseTest.php, line 251
Contains \Drupal\Tests\simpletest\Unit\TestBaseTest.

Class

TestBaseTest
@coversDefaultClass \Drupal\simpletest\TestBase @group simpletest

Namespace

Drupal\Tests\simpletest\Unit

Code

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