You are here

public function ImceFolderTest::testPath in IMCE 8

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

Test method ImceFolder::getPath().

File

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

Class

ImceFolderTest
Kernel tests for ImceFolder.

Namespace

Drupal\Tests\imce\Kernel

Code

public function testPath() {
  $this->imceFolder
    ->setPath('js');
  $path = $this->imceFolder
    ->getPath();
  $this
    ->assertTrue(is_string($path));
}