3 namespace Drupal\Tests\simpletest\Unit;
6 * This test crashes PHP.
8 * To avoid accidentally running, it is not in a normal PSR-4 directory, the
9 * file name does not adhere to PSR-4 and an environment variable also needs to
10 * be set for the crash to happen.
12 * @see \Drupal\Tests\simpletest\Unit\SimpletestPhpunitRunCommandTest::testSimpletestPhpUnitRunCommand()
14 class SimpletestPhpunitRunCommandTestWillDie extends \PHPUnit_Framework_TestCase {
17 * Performs the status specified by SimpletestPhpunitRunCommandTestWillDie.
19 public function testWillDie() {
20 $status = (int) getenv('SimpletestPhpunitRunCommandTestWillDie');
22 $this->assertTrue(TRUE, 'Assertion to ensure test pass');