protected function FlysystemFactoryTest::getFactory in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::getFactory()
- 2.0.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::getFactory()
- 3.0.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::getFactory()
Return value
\Drupal\flysystem\FlysystemFactory
4 calls to FlysystemFactoryTest::getFactory()
- FlysystemFactoryTest::testGetFilesystemReturnsCachedAdapter in tests/
src/ Unit/ FlysystemFactoryTest.php - @covers ::getFilesystem @covers ::getAdapter
- FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem in tests/
src/ Unit/ FlysystemFactoryTest.php - @covers ::getFilesystem
- FlysystemFactoryTest::testGetFilesystemReturnsReplicateAdapter in tests/
src/ Unit/ FlysystemFactoryTest.php - @covers ::getFilesystem @covers ::getAdapter
- FlysystemFactoryTest::testGetFilesystemReturnsValidFilesystem in tests/
src/ Unit/ FlysystemFactoryTest.php - @covers ::getFilesystem @covers ::__construct @covers ::getAdapter @covers ::getSettings @covers ::getPlugin
File
- tests/
src/ Unit/ FlysystemFactoryTest.php, line 185
Class
- FlysystemFactoryTest
- @coversDefaultClass \Drupal\flysystem\FlysystemFactory @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
protected function getFactory() {
return new FlysystemFactory($this->plugin_manager
->reveal(), $this->filesystem
->reveal(), $this->cache, $this->eventDispatcher);
}