public function ImceFileTest::testType in IMCE 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/ImceFileTest.php \Drupal\Tests\imce\Unit\ImceFileTest::testType()
Test type.
File
- tests/
src/ Unit/ ImceFileTest.php, line 33
Class
- ImceFileTest
- Test ImceFile.
Namespace
Drupal\Tests\imce\UnitCode
public function testType() {
$this
->assertNotEmpty($this->imceFile->type);
$this
->assertTrue(is_string($this->imceFile->type));
$this
->assertEquals('file', $this->imceFile->type);
}