You are here

public function CoreTest::testTree 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::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
    ->assertTrue(is_array($this->imceFM->tree));
  $this
    ->assert(count($this->imceFM->tree) > 0);
}