public function ConfigFormTest::testCreate in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
- 3.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
- 2.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
@covers ::create @covers ::__construct
File
- tests/src/ Unit/ Form/ ConfigFormTest.php, line 70 
Class
- ConfigFormTest
- @coversDefaultClass \Drupal\flysystem\Form\ConfigForm @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FormCode
public function testCreate() {
  $container = new ContainerBuilder();
  $container
    ->set('flysystem_factory', $this->factory
    ->reveal());
  $this
    ->assertInstanceOf(ConfigForm::class, ConfigForm::create($container));
}