You are here

protected function MessagesTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php \Drupal\Tests\views\Unit\Plugin\area\MessagesTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php, line 31

Class

MessagesTest
@coversDefaultClass \Drupal\views\Plugin\views\area\Messages @group views

Namespace

Drupal\Tests\views\Unit\Plugin\area

Code

protected function setUp() : void {
  parent::setUp();
  $this->messagesHandler = new Messages([], 'result', []);
}