You are here

public function NewFolderTest::testMessages in IMCE 8

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

Teste messages on context ImcePlugin\NewFolder.

File

tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php, line 127

Class

NewFolderTest
Kernel tests for Imce plugins for Imce Plugin NewFolder.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

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