protected function FileSystemTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ File/ FileSystemTest.php, line 37 - Contains \Drupal\Tests\Core\File\FileSystemTest.
Class
- FileSystemTest
- @coversDefaultClass \Drupal\Core\File\FileSystem
Namespace
Drupal\Tests\Core\FileCode
protected function setUp() {
parent::setUp();
$settings = new Settings([]);
$stream_wrapper_manager = $this
->getMock('Drupal\\Core\\StreamWrapper\\StreamWrapperManagerInterface');
$this->logger = $this
->getMock('Psr\\Log\\LoggerInterface');
$this->fileSystem = new FileSystem($stream_wrapper_manager, $settings, $this->logger);
}