Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store/web/modules/contrib/commerce/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/store/web/modules/contrib/commerce/tests/src/Unit/UrlDataTest.php

<?php

namespace Drupal\Tests\commerce\Unit;

use Drupal\commerce\UrlData;
use Drupal\Tests\UnitTestCase;

/**
 * @coversDefaultClass \Drupal\commerce\UrlData
 * @group commerce
 */
class UrlDataTest extends UnitTestCase {

  /**
   * ::covers encode
   * ::covers decode.
   */
  public function testEncodeDecode() {
    $data = ['commerce_product', '1'];
    $encoded_data = UrlData::encode($data);
    $this->assertIsString($encoded_data);

    $decoded_data = UrlData::decode($encoded_data);
    $this->assertIsArray($decoded_data);
    $this->assertSame($data, $decoded_data);

    $invalid_data = UrlData::decode('INVALID');
    $this->assertFalse($invalid_data);
  }

}

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