You are here

public function CoreTest::testMessages in IMCE 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\CoreTest::testMessages()

Teste messages on context ImcePlugin\Core.

File

tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php, line 130

Class

CoreTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function testMessages() {
  $messages = $this->imceFM
    ->getMessages();
  $this
    ->assertTrue(is_array($messages));
  $this
    ->assertEquals([], $messages);
}