You are here

public function FlysystemFactoryTest::testGetSchemesHandlesNoSchemes in Flysystem 3.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetSchemesHandlesNoSchemes()
  2. 2.0.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetSchemesHandlesNoSchemes()
  3. 3.0.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetSchemesHandlesNoSchemes()

@covers ::getSchemes

File

tests/src/Unit/FlysystemFactoryTest.php, line 156

Class

FlysystemFactoryTest
@coversDefaultClass \Drupal\flysystem\FlysystemFactory @group flysystem

Namespace

Drupal\Tests\flysystem\Unit

Code

public function testGetSchemesHandlesNoSchemes() {
  new Settings([]);
  $this
    ->assertSame([], $this
    ->getFactory()
    ->getSchemes());
}