Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/web/core/tests/Drupal/Tests/Core/Test/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/web/core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php

<?php

namespace Drupal\Tests\Core\Test;

use Drupal\Tests\UnitTestCase;
use Drupal\KernelTests\KernelTestBase;

/**
 * @group Test
 * @group legacy
 *
 * @coversDefaultClass \Drupal\KernelTests\KernelTestBase
 */
class KernelTestBaseTest extends UnitTestCase {

  /**
   * @expectedDeprecation Drupal\KernelTests\KernelTestBase::isTestInIsolation() is deprecated in Drupal 8.4.x, for removal before the Drupal 9.0.0 release. KernelTestBase tests are always run in isolated processes.
   *
   * @covers ::isTestInIsolation
   */
  public function testDeprecatedIsTestInIsolation() {
    $kernel_test = $this->getMockBuilder(KernelTestBase::class)
      ->disableOriginalConstructor()
      ->getMockForAbstractClass();

    $is_isolated = new \ReflectionMethod($kernel_test, 'isTestInIsolation');
    $is_isolated->setAccessible(TRUE);

    // Assert that the return value is a bool, because this unit test might or
    // might not be running in process isolation.
    $this->assertInternalType('bool', $is_isolated->invoke($kernel_test));
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net