You are here

public function EventStorageServiceTest::testHash in Commerce Google Tag Manager 8.2

Same name and namespace in other branches
  1. 8 tests/src/Unit/EventStorageServiceTest.php \Drupal\Tests\commerce_google_tag_manager\Unit\EventStorageServiceTest::testHash()

@covers ::hash

File

tests/src/Unit/EventStorageServiceTest.php, line 97

Class

EventStorageServiceTest
@coversDefaultClass \Drupal\commerce_google_tag_manager\EventStorageService

Namespace

Drupal\Tests\commerce_google_tag_manager\Unit

Code

public function testHash() {
  $result = $this
    ->invokeMethod($this->eventStorage, 'hash', [
    $this->event,
  ]);
  $this
    ->assertEquals('0e05cdf318b5832a7caf62ad11d386f4', $result);
}