You are here

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

Test an invalid index of type float.

@expectedException \InvalidArgumentException

File

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

Class

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

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testFloatIndex() {
  new Dimension(4.2, 'value');
}