You are here

protected function MessagesTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this->messagesHandler = new Messages([], 'result', []);
}