protected function FlysystemFactoryTest::getFactory in Flysystem 2.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::getFactory()
- 3.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 186
Class
- FlysystemFactoryTest
- @coversDefaultClass \Drupal\flysystem\FlysystemFactory @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
protected function getFactory() {
return new FlysystemFactory($this->pluginManager
->reveal(), $this->filesystem
->reveal(), $this->cache, $this->eventDispatcher);
}