You are here

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

Test an index greater than the valid range.

@expectedException \InvalidArgumentException

File

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

Class

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

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testOutOfBoundsIndex() {
  new Dimension(420, 'value');
}