You are here

public function CoreTest::testTree in IMCE 8.2

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

Test ImceFM::tree.

File

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

Class

CoreTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function testTree() {
  $this
    ->assertIsArray($this->imceFM->tree);
  $this
    ->assertTrue(count($this->imceFM->tree) > 0);
}