You are here

public function ImceFolderTest::testType in IMCE 8

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

Test type.

File

tests/src/Unit/ImceFolderTest.php, line 33

Class

ImceFolderTest
Test ImceFile.

Namespace

Drupal\Tests\imce\Unit

Code

public function testType() {
  $this
    ->assertNotEmpty($this->imceFolder->type);
  $this
    ->assertTrue(is_string($this->imceFolder->type));
  $this
    ->assertEquals('folder', $this->imceFolder->type);
}