You are here

public function FlysystemBridgeTest::testGetFilesystemOverridden in Flysystem 8

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

@covers ::getFilesystem @covers ::getFilesystemForScheme

File

tests/src/Unit/FlysystemBridgeTest.php, line 110

Class

FlysystemBridgeTest
@coversDefaultClass \Drupal\flysystem\FlysystemBridge @group flysystem

Namespace

Drupal\Tests\flysystem\Unit

Code

public function testGetFilesystemOverridden() {
  $method = new \ReflectionMethod($this->bridge, 'getFilesystem');
  $method
    ->setAccessible(TRUE);
  $this
    ->assertSame($this->filesystem, $method
    ->invoke($this->bridge));
}