public function FtpTest::testGetAdapterFails in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterFails()
- 3.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterFails()
- 2.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterFails()
@covers ::getAdapter @covers ::__construct
File
- tests/
src/ Unit/ Flysystem/ FtpTest.php, line 40
Class
- FtpTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Ftp @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function testGetAdapterFails() {
$plugin = new Ftp([]);
$this
->assertInstanceOf(MissingAdapter::class, $plugin
->getAdapter());
}