public function MetricTest::testStringValue in Googalytics - Google Analytics 8
Test a string value.
@expectedException \InvalidArgumentException
File
- tests/
src/ Unit/ AnalyticsCommand/ MetricTest.php, line 77
Class
- MetricTest
- @coversDefaultClass \Drupal\ga\AnalyticsCommand\Metric @group ga
Namespace
Drupal\Tests\ga\Unit\AnalyticsCommandCode
public function testStringValue() {
new Metric(42, 'value');
}