You are here

public function ImceFolderTest::testName in IMCE 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/ImceFolderTest.php \Drupal\Tests\imce\Kernel\ImceFolderTest::testName()

Test variable ImceFolder::name after scan.

File

tests/src/Kernel/ImceFolderTest.php, line 84

Class

ImceFolderTest
Kernel tests for ImceFolder.

Namespace

Drupal\Tests\imce\Kernel

Code

public function testName() {
  $this
    ->assertTrue(is_string($this->imceFolder->name));
  $this
    ->assertEqual($this->imceFolder->name, 'js');
}