You are here

PanelizerPatternTest.php in Panelizer 8.4

File

tests/src/Unit/PanelizerPatternTest.php
View source
<?php

namespace Drupal\Tests\panelizer\Unit;

use Drupal\ctools\ContextMapperInterface;
use Drupal\panelizer\Plugin\PanelsPattern\PanelizerPattern;
use Drupal\Tests\UnitTestCase;

/**
 * @coversDefaultClass \Drupal\panelizer\Plugin\PanelsPattern\PanelizerPattern
 * @group panelizer
 */
class PanelizerPatternTest extends UnitTestCase {

  /**
   * @covers ::__construct
   */
  public function testConstructor() {
    new PanelizerPattern([], 'panelizer', [], $this
      ->createMock(ContextMapperInterface::class));
    $this
      ->assertTrue(TRUE, 'PanelizerPattern was successfully instantiated.');
  }

}

Classes

Namesort descending Description
PanelizerPatternTest @coversDefaultClass \Drupal\panelizer\Plugin\PanelsPattern\PanelizerPattern @group panelizer