You are here

public function DimensionTest::testStringIndex in Googalytics - Google Analytics 8

Test an invalid index of type string.

@expectedException \InvalidArgumentException

File

tests/src/Unit/AnalyticsCommand/DimensionTest.php, line 37

Class

DimensionTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Dimension @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testStringIndex() {
  new Dimension('index', 'value');
}