You are here

public function ImceFolderTest::testType in IMCE 8.2

Same name and namespace in other branches
  1. 8 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
    ->assertIsString($this->imceFolder->type);
  $this
    ->assertEquals('folder', $this->imceFolder->type);
}