public function FileTest::setUp in YAML Content 8
Setup the file process plugin for all tests.
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Plugin/ yaml_content/ process/ FileTest.php, line 36
Class
- FileTest
- Test file processing.
Namespace
Drupal\Tests\yaml_content\Unit\Plugin\yaml_content\processCode
public function setUp() {
parent::setUp();
$args = [
'my_entity',
[
'filename' => 'test_file.txt',
],
];
$this->filePlugin = new File($args, '', []);
}