You are here

public function GenericTest::testBasicSettingCommands in Googalytics - Google Analytics 8

Test the command array for a basic command without additional options.

File

tests/src/Unit/AnalyticsCommand/GenericTest.php, line 26

Class

GenericTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Generic @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testBasicSettingCommands() {
  $command = new Generic('commandName');
  $this
    ->assertEquals([
    [
      'commandName',
    ],
  ], $command
    ->getSettingCommands());
}