public function FlysystemServiceProviderTest::testNothingFailsIfContainerIsEmpty in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/FlysystemServiceProviderTest.php \Drupal\Tests\flysystem\Unit\FlysystemServiceProviderTest::testNothingFailsIfContainerIsEmpty()
- 3.x tests/src/Unit/FlysystemServiceProviderTest.php \Drupal\Tests\flysystem\Unit\FlysystemServiceProviderTest::testNothingFailsIfContainerIsEmpty()
- 2.0.x tests/src/Unit/FlysystemServiceProviderTest.php \Drupal\Tests\flysystem\Unit\FlysystemServiceProviderTest::testNothingFailsIfContainerIsEmpty()
@covers ::register
File
- tests/
src/ Unit/ FlysystemServiceProviderTest.php, line 43
Class
- FlysystemServiceProviderTest
- @coversDefaultClass \Drupal\flysystem\FlysystemServiceProvider @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
public function testNothingFailsIfContainerIsEmpty() {
new Settings([]);
(new FlysystemServiceProvider())
->register($this->container);
$this
->assertFalse($this->container
->has('flysystem_stream_wrapper'));
}